CN115250339A - Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium - Google Patents

Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium Download PDF

Info

Publication number
CN115250339A
CN115250339A CN202110467841.3A CN202110467841A CN115250339A CN 115250339 A CN115250339 A CN 115250339A CN 202110467841 A CN202110467841 A CN 202110467841A CN 115250339 A CN115250339 A CN 115250339A
Authority
CN
China
Prior art keywords
blood flow
interpolation
data packet
data packets
numerical
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
CN202110467841.3A
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.)
Sonoscape Medical Corp
Original Assignee
Sonoscape Medical Corp
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 Sonoscape Medical Corp filed Critical Sonoscape Medical Corp
Priority to CN202110467841.3A priority Critical patent/CN115250339A/en
Publication of CN115250339A publication Critical patent/CN115250339A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0127Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0135Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)

Abstract

The application discloses a method and a device for improving a blood flow video frame rate, an ultrasonic device and a readable storage medium, wherein the method comprises the following steps: acquiring at least two blood flow data packets, and determining an interpolation position by using a numerical time interval corresponding to the blood flow data packet and an interval between adjacent data packets; carrying out interpolation processing on corresponding interpolation positions by utilizing any two adjacent blood flow data packets to obtain interpolation values; forming a numerical sequence by using the initial numerical value and the interpolation numerical value in the blood flow data packet, and selecting an imaging numerical value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet, wherein the number of the imaging data packets is greater than that of the blood flow data packets; the data is completed in an interpolation mode, the imaging data packets are acquired by using the numerical sequence, more imaging data packets than the blood flow data packets can be obtained, the frame rate of the blood flow video formed by using the imaging data packets is not limited by the generation frequency of the blood flow data packets, and the frame rate of the blood flow video is greatly improved.

Description

Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium
Technical Field
The present application relates to the field of blood flow imaging technologies, and in particular, to a method for improving a blood flow video frame rate, an apparatus for improving a blood flow video frame rate, an ultrasound device, and a computer-readable storage medium.
Background
Blood is an important transport vehicle in the human body, carrying various important substances required by the human body, such as metabolites, nutrients, oxygen and carbon dioxide. The blood flow is the expression of human vitality, and the imaging means is the main mode of blood examination, so the related technology usually scans repeatedly at different spatial positions of the human body, each scan can obtain the corresponding spatial position blood flow information, and an imaging data packet is obtained by using the scanning information and the imaging data packet, and then the blood flow image is generated by using the imaging data packet to form the blood flow video.
However, each scanning needs a certain time, and a certain time interval is also formed between two scanning, so that the acquisition frequency of the imaging data packet is low, and further the blood flow video frame rate is low.
Disclosure of Invention
In view of the above, an object of the present invention is to obtain a large number of imaging data packets by using a small number of blood flow data packets, so that the frame rate of blood flow video obtained by using the imaging data packets is not limited by the generation frequency of the blood flow data packets, and the video frame rate can be greatly increased.
In order to solve the above technical problem, the present application provides a method for improving a blood flow video frame rate, including:
acquiring at least two blood flow data packets, and determining an interpolation position by using a numerical time interval corresponding to the blood flow data packets and an interval between adjacent data packets;
carrying out interpolation processing on the corresponding interpolation position by using any two adjacent blood flow data packets to obtain an interpolation value;
and forming a numerical sequence by using the initial numerical value and the interpolation numerical value in the blood flow data packet, and selecting an imaging numerical value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet, wherein the number of the imaging data packets is greater than that of the blood flow data packets.
Optionally, the performing interpolation processing at the corresponding interpolation position by using any two adjacent blood flow data packets to obtain an interpolation value includes:
judging whether the interpolation quantity between the adjacent data packets is smaller than the quantity of the initial numerical values in the blood flow data packets or not;
if the interpolation number is smaller than the number of the initial numerical values, performing interpolation processing at a corresponding interpolation position by using the initial numerical values in the adjacent data packets to obtain the interpolation numerical values;
if the interpolation quantity is not less than the quantity of the initial numerical values, determining a target position in each interpolation position, and generating a target numerical value corresponding to the target position by using the adjacent data packets;
and performing interpolation processing at other interpolation positions by using the initial value and the target value to obtain the interpolation value.
Optionally, the determining the target position in each interpolation position includes:
and determining the autocorrelation cycle center position of the interpolation data packet from each interpolation position, and determining the autocorrelation cycle center position as the target position.
Optionally, the generating a target value corresponding to the target position by using the adjacent data packet includes:
extracting a target initial numerical value corresponding to the autocorrelation period center position of the adjacent data packet;
and averaging the target initial numerical value to obtain the target numerical value.
Optionally, the forming a numerical sequence by using the initial value and the interpolation value in the blood flow data packet, and selecting an imaging value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet includes:
arranging the initial numerical values and the interpolation numerical values according to a time sequence to obtain the numerical value sequence;
determining the length of the imaging data packet, and determining the length as the window length of a data packet acquisition window;
and moving the data packet acquisition window according to the preset step length from the front end of the numerical value sequence, and forming the imaging data packet by using the imaging numerical values covered by the data packet acquisition window.
Optionally, the determining an interpolation position by using the numerical time interval corresponding to the blood flow data packet and the adjacent data packet interval includes:
obtaining a pulse repetition frequency, and obtaining the numerical time interval between the initial numerical values in the blood flow data packet by using the pulse repetition frequency;
based on the numerical time interval, carrying out average division on the adjacent data packet intervals to obtain the interpolation position; the adjacent data packet interval is an integral multiple of the numerical time interval.
Optionally, the method further comprises:
generating a corresponding blood flow image using the imaging data packet;
sequencing the blood flow images according to the generation sequence of the imaging data packets to obtain an image sequence;
and visually displaying the image sequence.
The present application further provides a device for improving a blood flow video frame rate, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring at least two blood flow data packets and determining an interpolation position by using a numerical time interval corresponding to the blood flow data packets and an interval between adjacent data packets;
the interpolation module is used for carrying out interpolation processing on the corresponding interpolation position by utilizing any two adjacent blood flow data packets to obtain an interpolation value;
and the data packet generation module is used for forming a numerical sequence by using the initial numerical value and the interpolation numerical value in the blood flow data packet, selecting an imaging numerical value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet, wherein the number of the imaging data packets is greater than that of the blood flow data packets.
The present application further provides an ultrasound device comprising a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the above method for improving the frame rate of the blood flow video.
The present application further provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for improving the frame rate of the blood flow video.
The method for improving the blood flow video frame rate obtains at least two blood flow data packets, and determines an interpolation position by using a numerical time interval corresponding to the blood flow data packets and an interval between adjacent data packets; carrying out interpolation processing on corresponding interpolation positions by utilizing any two adjacent blood flow data packets to obtain interpolation values; and forming a numerical sequence by using the initial numerical value and the interpolation numerical value in the blood flow data packet, and selecting an imaging numerical value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet, wherein the number of the imaging data packets is greater than that of the blood flow data packets.
Therefore, after the initial blood flow data packet is obtained, the theoretical data item sampling position corresponding to the time interval between the initial blood flow data packet and the blood flow data packet is determined, and the theoretical data item sampling position is a plug-in position. A theoretical data item sample location refers to a location in time that is sampled at a numerical time interval, but is not sampled because adjacent packets have a time interval. By utilizing the adjacent data packets to carry out interpolation processing on the interpolation position between the two data packets, the interpolation value at the interpolation position can be completed based on the data in the blood flow data packet, and the interpolation value and the data packets form a value sequence, wherein the value sequence is a sequence obtained by continuous sampling theoretically. The preset step length represents the quantity of imaging numerical values spaced between two adjacent imaging data packets, after the numerical value sequence is obtained, a certain quantity of interpolation numerical values and/or initial numerical values are sequentially selected as the imaging numerical values along the direction of the numerical value sequence according to the preset step length, and the imaging data packets are formed by utilizing the imaging numerical values.
Missing data is completed in an interpolation mode, imaging data packets are collected according to a preset step length by using a numerical sequence, and more imaging data packets than blood flow data packets can be obtained, so that the frame rate of blood flow video obtained by using the imaging data packets is not limited by the generation frequency of the blood flow data packets, and the video frame rate can be greatly improved. The problem of low blood flow video frame rate in the related art is solved.
In addition, the application also provides a device for improving the blood flow video frame rate, an ultrasonic device and a computer readable storage medium, which also have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating a structure of an imaging data packet according to a related art provided in an embodiment of the present application;
fig. 2 is a flowchart of a method for improving a frame rate of a blood flow video according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a composition structure of an imaging data packet according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an interpolation process provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for improving a blood flow video frame rate according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an ultrasound apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a composition structure of an imaging data packet according to a related art according to an embodiment of the present application. When an imaging data packet is acquired at a certain point p in a region of interest (ROI), n initial values are acquired according to a sampling interval (i.e., prt), and are packed into an imaging data packet, i.e., a package1, and are uploaded to a processor. The generation of the first imaging data packet takes (n-1) × prt duration. The imaging algorithm in the processor processes and images using the n data items in the Package1, and may calculate, for example, a blood flow velocity V1 to image using the blood flow velocity V1. The interval t is required between the end of the acquisition of the first imaging data packet and the start of the acquisition of the second imaging data packet (namely, packet 2), then n initial values are continuously and repeatedly acquired, the initial values are packaged into packet 2 and uploaded, and the processing is continuously carried out, for example, the blood flow velocity V2 is obtained through calculation. Repeating the above operations, and calculating N speed results within a time period of time duration T, the blood flow frame rate of the video obtained by imaging with the imaging data packet can be calculated as:
FrameRate=N/T。
therefore, the data in each imaging data packet is used for generating a frame, and when blood flow imaging is performed, the time interval between two imaging data packets cannot be eliminated, so that the frame rate of the blood flow video obtained by the method is low.
In order to solve the above problem, the present application provides a method for improving a frame rate of a blood flow video. Referring to fig. 2, fig. 2 is a flowchart of a method for improving a frame rate of a blood flow video according to an embodiment of the present disclosure. The method comprises the following steps:
s101: and acquiring at least two blood flow data packets, and determining an interpolation position by using the numerical time interval corresponding to the blood flow data packets and the interval of the adjacent data packets.
The blood flow data packet refers to a data packet directly acquired by a probe acquiring blood flow values, and includes a plurality of initial values, that is, blood flow data directly acquired. The specific acquisition mode of the blood flow data packet is the same as that of the related art, and is not described herein; in one embodiment, the blood flow data packet may be read from under the specified path; or can receive data sent by a designated electronic device and obtain blood flow data packets from the data. It should be noted that at least two blood flow data packets are acquired in this embodiment, that is, imaging can be performed only when at least two blood flow data packets are acquired. At least two blood flow data packets are needed because interpolation is performed in the time interval between two blood flow data packets by using the initial values in the two blood flow data packets, so as to obtain data in the time interval based on the two blood flow data packets and provide the interpolation values for subsequently generating the imaging data packet. It should be noted that the present embodiment does not limit the manner of acquiring each initial value in the blood flow data packet, and in a possible implementation, each initial value is acquired according to a fixed frequency, in this case, the time interval of the value in the blood flow data packet is only one and is fixed.
Specifically, the numerical time interval refers to a time interval between two adjacent initial numerical values in a data packet, and the adjacent data packet interval refers to a time interval between two adjacent blood flow data packets, specifically, refers to a time interval between a last data item of a first blood flow data packet and a first data item of a second blood flow data packet. According to the numerical time interval corresponding to the blood flow data packet and the interval of the adjacent data packets, the corresponding interpolation position can be determined. The interpolation position specifically refers to a time at which data acquisition should be performed theoretically, and a specific determination manner of the interpolation position is not limited, for example, when data acquisition is performed according to a fixed frequency, and a numerical time interval is fixed, the data packet interval may be divided based on the numerical time interval, and an interpolation position is determined every length of the numerical time interval from a head of the data packet interval. It should be noted that the packet interval should be an integer multiple of the numerical time interval.
The number of interpolation positions is related to the packet interval and the numerical time interval, and the specific number is not limited. In one embodiment, the number of interpolation positions may be less than the number of initial values in a single blood flow data packet; in another embodiment, the number of interpolation positions may be no less than the number of initial values in a single blood flow data packet.
S102: and carrying out interpolation processing at the corresponding interpolation position by using any two adjacent blood flow data packets to obtain an interpolation value.
After the blood flow data packets are obtained and the interpolation position between any two adjacent blood flow data packets is determined, interpolation processing can be performed at the interpolation position between any two adjacent blood flow data packets so as to obtain the interpolation value corresponding to each interpolation position. The interpolation value is a value at an interpolation position obtained based on data in the blood flow data packet, and is not data directly acquired by the probe but data estimated based on the blood flow data packet.
As for the interpolation processing method, an arbitrary interpolation method may be selected for the interpolation processing, and for example, a linear interpolation method may be used, or a cubic spline interpolation method may be used. Further, based on the nyquist law, according to the magnitude relation between the number of interpolation positions (i.e., the number of interpolation values) and the number of initial values in the blood flow data packet, a target interpolation position can be selected from the interpolation positions when the number of interpolation values is large, and a value is assigned to a target interpolation value corresponding to the target interpolation position, so that the target interpolation data is used for participating in interpolation processing, and the accuracy of the obtained interpolation value is higher.
S103: and forming a numerical sequence by using the initial numerical value and the interpolation numerical value in the blood flow data packet, and selecting an imaging numerical value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet.
In this embodiment, the number of imaging packets is greater than the number of blood flow packets. After the interpolation value is obtained, the interpolation value and the initial value in the blood flow data packet form a value sequence, and in the value sequence, the initial value and the interpolation value are arranged according to the time sequence. The preset step length refers to the number of imaging numerical values spaced between two adjacent imaging data packets. After the value sequence is obtained, an imaging value can be selected from the value sequence by a sliding window mode from the head of the value sequence, and an imaging data packet is formed by the imaging value. The imaging values may include initial values and/or interpolated values in the data packet. It is understood that the smaller the preset step size is, the larger the number of imaging data packets that can be generated by the same numerical sequence is, so that the higher the frame rate of the imaging video generated by the same numerical sequence is.
It should be noted that the present embodiment does not limit the execution sequence among step S101, step S102, and step S103, and in a possible implementation, in order to increase the speed of blood flow imaging, the blood flow data packet may be acquired while the interpolation position is determined by using the acquired data, and the blood flow data packet with the interpolation position determined may be used to perform interpolation processing, so as to obtain an interpolation value. Meanwhile, the obtained interpolation value and the blood flow data packet are used for forming a value sequence, and then an imaging value is selected from the value sequence to form an imaging data packet. I.e. all three steps are performed in parallel.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a composition structure of an imaging data packet according to an embodiment of the present disclosure. The interpolation values corresponding to the two interpolation positions of P9 and P0 can be obtained by using the initial values in the packages 1 and 2, and the preset step length is set to be 3. And after a numerical sequence is formed by utilizing the interpolation numerical values and the initial numerical values, acquiring imaging data packets from the head of the numerical sequence, and respectively calculating by utilizing each imaging data packet to obtain blood flow velocities V1, V2, V3 and V4, wherein each blood flow velocity corresponds to a video frame in a blood flow video. It can be seen that the whole blood flow video not only includes the initial value, but also includes the interpolation value, and the frame frequency of the blood flow video is greater than the number of directly acquired packets (i.e., blood flow data packets).
By applying the method for improving the frame rate of the blood flow video, missing data is completed in an interpolation mode, the imaging data packets are acquired by utilizing the numerical sequence according to the preset step length, and the imaging data packets with more quantity than the blood flow data packets can be obtained, so that the frame rate of the blood flow video obtained by utilizing the imaging data packets is not limited by the generation frequency of the blood flow data packets, and the video frame rate can be greatly improved. The problem of low blood flow video frame rate in the related art is solved.
Based on the foregoing embodiment, in a possible implementation manner, the initial value in the data packet is obtained according to a fixed frequency, in this case, in order to accurately determine the interpolation position, the process of determining the interpolation position by using the value time interval corresponding to the data packet and the adjacent data packet interval may specifically include the following steps:
step 11: and acquiring the pulse repetition frequency, and obtaining the numerical time interval between each initial numerical value in the blood flow data packet by using the pulse repetition frequency.
Wherein, the Pulse Repetition Frequency is PRF, pulse Repetition Frequency. The pulse repetition frequency is the frequency of the probe for transmitting signals and obtaining data items, and the numerical time interval can be accurately obtained by using the pulse repetition frequency. The pulse repetition frequency may be preset or may be obtained in real time, for example, by obtaining a user-input pulse repetition frequency. After the pulse repetition frequency is obtained, it can be inverted to obtain the corresponding numerical time interval. The numerical time interval obtained by the pulse repetition frequency is more accurate than the numerical time interval obtained by analyzing the data packet.
Step 12: and averagely dividing the interval of the adjacent data packets based on the numerical time interval to obtain an interpolation position.
In this embodiment, the adjacent packet interval is an integral multiple of the numerical time interval. After the numerical time intervals are obtained, the interval between the adjacent data packets can be divided by taking the numerical time intervals as granularity, namely, an interpolation position is set for the length of each numerical time interval, the interval between the adjacent data packets is integral multiple of the numerical time interval, so that the interval between the adjacent data packets can be divided into a plurality of small segments evenly and completely, and the connection position between the small segments is the interpolation position. By using the method, the numerical time interval can be accurately determined, and an accurate interpolation position can be obtained.
Based on the above embodiment, when performing interpolation processing, if the interpolation number (i.e., the number of interpolation positions) between two data packets is not less than the number of initial values in the data packets, the accuracy of interpolation values obtained by directly interpolating with the initial values in the blood flow data packets according to the nyquist theorem is low. In order to solve the above problem, the process of performing interpolation processing at the corresponding interpolation position by using any two adjacent blood flow data packets to obtain an interpolation value may specifically include the following steps:
step 21: judging whether the interpolation quantity between the adjacent data packets is smaller than the quantity of the initial numerical values in the blood flow data packets;
the interpolation number refers to the number of interpolation positions between two adjacent blood flow data packets (i.e., adjacent data packets). It should be noted that the number of initial values in each data packet is the same.
The present embodiment does not limit the specific determination manner, and in one implementation, the magnitude of the two quantities may be directly determined to obtain the determination result. In another embodiment, the following may be followed:
K=int(p/Ensemble)
and calculating to obtain the number K of the target positions, and determining the number of the target positions simultaneously while obtaining the judgment result so as to determine the target positions subsequently. Wherein p is the interpolation number, ensemble is the number of the initial values of the blood flow data packets, and int is a rounding-down function. And when K is less than 1, indicating that the interpolation quantity is less than the quantity of the initial numerical values, otherwise indicating that the interpolation quantity is not less than the quantity of the initial numerical values.
Step 22: if the interpolation number is smaller than the number of the initial values, performing interpolation processing at the corresponding interpolation position by using the initial values in the adjacent data packets to obtain an interpolation value;
if the interpolation number is smaller than the number of the initial values, the interpolation position is less, and the accurate interpolation value can be obtained only by using the initial values in the adjacent data packets.
Step 23: if the interpolation quantity is not less than the quantity of the initial numerical values, determining a target position in each interpolation position, and generating a target numerical value corresponding to the target position by using adjacent data packets;
if the interpolation number is not less than the number of the initial values, it indicates that the number of interpolation positions is large, and accurate interpolation processing cannot be performed only by using the initial values. In order to enable the accuracy of the interpolation value to be higher, a target position can be determined in the interpolation positions, the target position can also be called as an assignment position, the interpolation processing can be performed on the basis that the interpolation values corresponding to part of the interpolation positions are determined by determining the target value corresponding to the target position, and then the accuracy of the interpolation value obtained by the interpolation processing is higher.
The embodiment does not limit the specific way of determining the target position, and in a possible implementation, some interpolation positions may be pre-designated as the target positions. Since the reliability and accuracy of the target value also affect the accuracy of other interpolated values, the interpolated position at which a relatively accurate target value can be calculated can be selected as the target position. In a specific embodiment, since the blood flow has periodicity, the process of determining the target position in the interpolated position may specifically include the following steps:
step 31: and determining the autocorrelation period center position of the interpolated data packet from each interpolation position, and determining the autocorrelation period center position as the target position.
A plurality of initial values exist in the blood flow data packet, each initial value corresponds to a different sampling position, and compared with other sampling positions, the data reliability of the autocorrelation period center position of the blood flow data packet is higher. Therefore, when determining the target position, the concept of interpolating the data packet may be introduced, and the autocorrelation period center position of the interpolated data packet is determined as the target position. It should be noted that the concept of interpolation packet is only used to determine the target position, and is not related to the subsequent imaging packet. The interpolation data packet refers to a data packet formed by obtaining enough interpolation data from the head of the interpolation value sequence in a single adjacent data packet interval, the number of interpolation values in a single interpolation data packet is the same as the number of initial values in a single blood flow data packet, and interpolation positions corresponding to the interpolation values among different interpolation data packets are different. In this embodiment, the number of the initial values in each blood flow data packet is an odd number, and the autocorrelation period center position is specifically the middle position of each blood flow data packet, so that the target position is the middle position of the interpolation data packet. In this embodiment, the autocorrelation period center position of the interpolated data packet may be determined based on the following formula:
A=k*Ensemble-int(Ensemble/2),k=1,2,…K
where a is the sequential number of the autocorrelation period center position (i.e., the target position) of the interpolated packet in each interpolated position. Referring to fig. 4, fig. 4 is a schematic diagram of an interpolation process according to an embodiment of the present disclosure. Where K = int (7/5) =1, so K can only take 1, and thus a =1 × 5-int (5/2) =5-2=3, that is, the target position is the third interpolation position, that is, the K position in fig. 4.
After the target position is determined, a corresponding target value is generated. In this embodiment, the interpolated data packet can be considered to be similar to the recorded contents of the blood flow data packet, and therefore the target data corresponding to the target position can be generated using the data at the corresponding position in the adjacent data packet. Specifically, the process of generating the target value corresponding to the target position by using the adjacent data packet may include the following steps:
step 41: and extracting a target initial value corresponding to the autocorrelation period center position of the adjacent data packets.
Step 42: and averaging the target initial values to obtain target values.
The adjacent data packets refer to two adjacent blood flow data packets, and a target initial value corresponding to a target position, that is, initial data at the center position of an autocorrelation period in the blood flow data packets, can be extracted from both the two adjacent blood flow data packets. Referring to fig. 4, interpolation positions corresponding to interpolation values in interpolation data packets are different, so that the interpolation data packets do not overlap with each other. In the case of fig. 4, there is only one interpolation packet because there are only 7 interpolation positions and 5 interpolation values are required in each interpolation packet. Specifically, 5 interpolation data are obtained from the head of the interpolation value sequence to obtain an interpolation data packet, so that the interpolation data packet specifically refers to a data packet composed of interpolation values with sequence numbers of 1-5 and corresponding to 5 interpolation positions, and the number of the initial values is 5. The k position is the 3 rd position through the above calculation, so the corresponding target initial value is the value of the k1 position and the value of the k2 position, which are the 3 rd positions in the blood flow data packet.
If the interpolation positions are 10, then:
K=int(10/5)=2;
k =2, it is stated that two positions need to be assigned first in the interpolation packet, and the interpolation value may form two interpolation data packets, in this case, K may take 1 and 2, then:
k =1, a =1 × 5-int (5/2) =5-2=3;
k =2, a =2 × 5-int (5/2) =10-2=8;
therefore, it can be determined that when the interpolation number is 10, there are interpolation positions of sequence numbers 3 and 8 as target positions inevitably, and in this case, after the first interpolation packet is constituted by five interpolation values of sequence numbers 1 to 5, another interpolation packet is constituted by interpolation values corresponding to a total of 5 interpolation positions of sequence numbers 6 to 10 in the interpolation value sequence, and the interpolation position of sequence number 8 therein is determined as the target position.
After the target initial value is determined, it is used for the average calculation, for fig. 4, i.e.
k=(k1+k2)/2
A target value k is obtained. If the target positions are multiple, the target values corresponding to each target position are the same.
Step 24: and carrying out interpolation processing at other interpolation positions by utilizing the initial numerical value and the target numerical value to obtain an interpolation numerical value.
After the target value is obtained, the target value can be used as input data of interpolation processing and is matched with the initial value to carry out interpolation processing together, so that an interpolation value is obtained.
Based on the foregoing embodiment, in a possible implementation manner, the process of forming the imaging data packet by using the initial value and the interpolation value in the blood flow data packet to form the value sequence and selecting the target value from the sliding window in the data item queue according to the preset step length specifically includes the following steps:
step 51: and arranging the initial numerical values and the interpolation numerical values in the data packet according to a time sequence to obtain a numerical value sequence.
Specifically, since the initial value and the interpolated value correspond to different times, and each time has a time sequence, in order to obtain a correct imaging data packet, the initial value and the interpolated value need to be arranged according to the time sequence to form a correct value sequence.
Step 52: the length of the imaging data packet is determined and the length is determined as the window length of the data packet acquisition window.
It should be noted that the number of data items of the imaging data packet may be the same as or different from the number of the initial values, and is not limited specifically.
Step 53: and moving a data packet acquisition window according to a preset step length from the front end of the numerical value sequence, and forming an imaging data packet by using the imaging numerical values covered by the data packet acquisition window.
The imaging value refers to the value covered by the data packet acquisition window in the value sequence. And moving the data packet acquisition window according to a preset step length, and forming an imaging data packet by using the covered imaging numerical value after each movement. After an imaging data packet is generated, the data packet acquisition window is moved again so as to continue generating imaging data packets.
Further, after obtaining the imaging data packet, the following steps may be further performed:
step 61: a corresponding blood flow image is generated using the imaging data packet.
The blood flow image is a video frame in the blood flow video. The embodiment does not limit the specific generation manner of the blood flow image, and for example, the blood flow velocity may be calculated, and the corresponding blood flow image may be generated based on the blood flow velocity.
Step 62: and sequencing the blood flow images according to the generation sequence of the imaging data packets to obtain an image sequence.
Since the imaging data packets are generated according to the sequence of the numerical sequence, the image sequence obtained by arranging according to the generation sequence can form the blood flow video.
And step 63: and visually displaying the image sequence.
The embodiment does not limit the way of visual display, and for example, the visual display may be sent to a display screen to be displayed on the display screen; or may be sent to and presented by other electronic devices.
The apparatus for increasing the frame rate of the blood flow video according to the embodiments of the present application is described below, and the apparatus for increasing the frame rate of the blood flow video described below and the method for increasing the frame rate of the blood flow video described above may be referred to correspondingly.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an apparatus for improving a frame rate of a blood flow video according to an embodiment of the present disclosure, including:
an obtaining module 110, configured to obtain at least two blood flow data packets, and determine an interpolation position by using a numerical time interval corresponding to a blood flow data packet and an interval between adjacent data packets;
the interpolation module 120 is configured to perform interpolation processing at a corresponding interpolation position by using any two adjacent blood flow data packets to obtain an interpolation value;
and the data packet generating module 130 is configured to form a value sequence by using the initial value and the interpolation value in the blood flow data packet, and select an imaging value from a sliding window in the value sequence according to a preset step length to form an imaging data packet, where the number of the imaging data packets is greater than the number of the blood flow data packets.
Optionally, the interpolation module 120 includes:
the quantity judging unit is used for judging whether the interpolation quantity between the adjacent data packets is smaller than the quantity of the initial numerical values in the blood flow data packets;
the first interpolation unit is used for carrying out interpolation processing at a corresponding interpolation position by using the initial numerical values in the adjacent data packets to obtain an interpolation numerical value if the interpolation number is smaller than the number of the initial numerical values;
a target value determining unit, configured to determine a target position in each interpolation position if the interpolation number is not less than the number of the initial values, and generate a target value corresponding to the target position by using the adjacent data packets;
and the second interpolation unit is used for carrying out interpolation processing at other interpolation positions by utilizing the initial value and the target value to obtain an interpolation value.
Optionally, the target value determination unit includes:
a target position determination subunit for determining an autocorrelation period center position of the interpolated data packet from each interpolated position and determining the autocorrelation period center position as a target position; wherein, the number of the initial values in each blood flow data packet is odd.
Optionally, the target value determining unit includes:
the target initial value extraction subunit is used for extracting a target initial value corresponding to the autocorrelation period central position of the adjacent data packet;
and the average processing subunit is used for carrying out average processing on the target initial value to obtain a target value.
Optionally, the data packet generating module 130 includes:
the sequencing unit is used for sequencing the initial numerical values and the interpolation numerical values according to a time sequence to obtain a numerical value sequence;
the window length setting unit is used for determining the length of the imaging data packet and determining the length as the window length of a data packet acquisition window;
and the forming unit is used for moving the data packet acquisition window from the front end of the numerical value sequence according to a preset step length and forming an imaging data packet by using the imaging numerical values covered by the data packet acquisition window.
Optionally, the obtaining module 110 includes:
the data item detection and determination unit is used for acquiring pulse repetition frequency and obtaining the numerical time interval between each initial numerical value in the blood flow data packet by utilizing the pulse repetition frequency;
the average dividing unit is used for carrying out average division on the interval of the adjacent data packets based on the numerical time interval to obtain an interpolation position; the adjacent data packet interval is an integer multiple of the numerical time interval.
Optionally, the method further comprises:
the image generation module is used for generating a corresponding blood flow image by using the imaging data packet;
the image sequence generation module is used for sequencing the blood flow images according to the generation sequence of the imaging data packets to obtain an image sequence;
and the display module is used for visually displaying the image sequence.
In the following, the ultrasound apparatus provided by the embodiment of the present application is introduced, and the ultrasound apparatus described below and the method for increasing the blood flow video frame rate described above may be referred to correspondingly.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an ultrasound apparatus according to an embodiment of the present disclosure. Wherein the ultrasound device 100 may include a processor 101 and a memory 102, and may further include one or more of a multimedia component 103, an information input/information output (I/O) interface 104, and a communication component 105.
The processor 101 is configured to control the overall operation of the ultrasound apparatus 100 to complete all or part of the steps in the above method for increasing the blood flow video frame rate; the memory 102 is used to store various types of data to support operation at the ultrasound device 100, which may include, for example, instructions for any application or method operating on the ultrasound device 100, as well as application-related data. The Memory 102 may be implemented by any type or combination of volatile and non-volatile Memory devices, such as one or more of Static Random Access Memory (SRAM), electrically Erasable Programmable Read-Only Memory (EEPROM), erasable Programmable Read-Only Memory (EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic or optical disk.
The multimedia component 103 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 102 or transmitted through the communication component 105. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 104 provides an interface between the processor 101 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 105 is used for wired or wireless communication between the ultrasound device 100 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, near Field Communication (NFC for short), 2G, 3G, or 4G, or a combination of one or more of them, and thus the corresponding Communication component 706 may include: wi-Fi part, bluetooth part, NFC part.
The ultrasound Device 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is used to implement the method for increasing the frame rate of the bloodstream video according to the above embodiments.
The following describes a computer-readable storage medium provided by an embodiment of the present application, and the computer-readable storage medium described below and the method for increasing the frame rate of the blood flow video described above may be referred to correspondingly.
The present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for improving the frame rate of the blood flow video.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relationships such as first and second, etc., are intended only to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms include, or any other variation is intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements does not include only those elements but also other elements not expressly listed or inherent to such process, method, article, or apparatus.
The method for improving a blood flow video frame rate, the apparatus for improving a blood flow video frame rate, the ultrasound device, and the computer-readable storage medium provided by the present application are described in detail above, and specific examples are applied herein to explain the principles and embodiments of the present application, and the descriptions of the above examples are only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for increasing a frame rate of a streaming video, comprising:
acquiring at least two blood flow data packets, and determining an interpolation position by using a numerical time interval corresponding to the blood flow data packets and an interval between adjacent data packets;
carrying out interpolation processing on the corresponding interpolation position by using any two adjacent blood flow data packets to obtain an interpolation value;
and forming a numerical sequence by using the initial numerical value and the interpolation numerical value in the blood flow data packet, and selecting an imaging numerical value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet, wherein the number of the imaging data packets is greater than that of the blood flow data packets.
2. The method according to claim 1, wherein the interpolating at the corresponding interpolation position by using any two adjacent blood flow data packets to obtain an interpolation value comprises:
judging whether the interpolation quantity between the adjacent data packets is smaller than the quantity of the initial numerical values in the blood flow data packets or not;
if the interpolation number is smaller than the number of the initial values, performing interpolation processing at a corresponding interpolation position by using the initial values in the adjacent data packets to obtain the interpolation values;
if the interpolation quantity is not less than the quantity of the initial numerical values, determining a target position in each interpolation position, and generating a target numerical value corresponding to the target position by using the adjacent data packets;
and carrying out interpolation processing at other interpolation positions by utilizing the initial numerical value and the target numerical value to obtain the interpolation numerical value.
3. The method for improving the frame rate of blood flow video according to claim 2, wherein the determining the target position in each interpolation position comprises:
determining the autocorrelation cycle center position of an interpolated data packet from each interpolation position, and determining the autocorrelation cycle center position as the target position; wherein the number of the initial values in each of the blood flow data packets is an odd number.
4. The method of claim 3, wherein the generating the target value corresponding to the target position by using the adjacent data packet comprises:
extracting a target initial numerical value corresponding to the autocorrelation period center position of the adjacent data packet;
and averaging the target initial numerical value to obtain the target numerical value.
5. The method for improving the frame rate of blood flow video according to any of claims 1 to 4, wherein the using the initial value and the interpolated value in the blood flow data packet to form a value sequence, and selecting an imaging value from the value sequence by sliding a window according to a preset step size to form an imaging data packet comprises:
arranging the initial numerical values and the interpolation numerical values according to a time sequence to obtain the numerical value sequence;
determining the length of the imaging data packet, and determining the length as the window length of a data packet acquisition window;
and moving the data packet acquisition window according to the preset step length from the front end of the numerical value sequence, and forming the imaging data packet by using the imaging numerical values covered by the data packet acquisition window.
6. The method for improving the frame rate of blood flow video according to claim 1, wherein the determining the interpolation position by using the numerical time interval corresponding to the blood flow data packet and the interval between adjacent data packets comprises:
acquiring pulse repetition frequency, and obtaining the numerical time interval between each initial numerical value in the blood flow data packet by using the pulse repetition frequency;
based on the numerical time interval, carrying out average division on the adjacent data packet intervals to obtain the interpolation position; the adjacent data packet interval is an integral multiple of the numerical time interval.
7. The method for improving the frame rate of blood flow video according to claim 1, further comprising:
generating a corresponding blood flow image using the imaging data packet;
sequencing the blood flow images according to the generation sequence of the imaging data packets to obtain an image sequence;
and visually displaying the image sequence.
8. An apparatus for improving a frame rate of a blood flow video, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring at least two blood flow data packets and determining an interpolation position by using a numerical value time interval corresponding to the blood flow data packet and an interval between adjacent data packets;
the interpolation module is used for carrying out interpolation processing on the corresponding interpolation position by utilizing any two adjacent blood flow data packets to obtain an interpolation value;
and the data packet generation module is used for forming a numerical sequence by using the initial numerical value and the interpolation numerical value in the blood flow data packet, selecting an imaging numerical value from a sliding window in the numerical sequence according to a preset step length to form an imaging data packet, wherein the number of the imaging data packets is greater than that of the blood flow data packets.
9. An ultrasound device comprising a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor, configured to execute the computer program to implement the method for improving the frame rate of the blood flow video according to any claim 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the method for improving the frame rate of blood flow video according to any one of claims 1 to 7.
CN202110467841.3A 2021-04-28 2021-04-28 Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium Pending CN115250339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110467841.3A CN115250339A (en) 2021-04-28 2021-04-28 Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110467841.3A CN115250339A (en) 2021-04-28 2021-04-28 Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115250339A true CN115250339A (en) 2022-10-28

Family

ID=83696826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110467841.3A Pending CN115250339A (en) 2021-04-28 2021-04-28 Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115250339A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10155791A (en) * 1996-11-28 1998-06-16 Shimadzu Corp Ultrasonic diagnosing apparatus
CN101753950A (en) * 2008-11-28 2010-06-23 深圳迈瑞生物医疗电子股份有限公司 Method for processing ultrasonic image frame interpolation and ultrasonic system thereof
CN111641828A (en) * 2020-05-16 2020-09-08 Oppo广东移动通信有限公司 Video processing method and device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10155791A (en) * 1996-11-28 1998-06-16 Shimadzu Corp Ultrasonic diagnosing apparatus
CN101753950A (en) * 2008-11-28 2010-06-23 深圳迈瑞生物医疗电子股份有限公司 Method for processing ultrasonic image frame interpolation and ultrasonic system thereof
CN111641828A (en) * 2020-05-16 2020-09-08 Oppo广东移动通信有限公司 Video processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
EP2921115B1 (en) Ultrasound apparatus and method of measuring ultrasound image
CN110573088B (en) Ultrasonic elasticity detection method and system
EP3028638B1 (en) Ultrasound method and apparatus for processing ultrasound image
KR101649725B1 (en) Method and ultrasonic diagnotic apparatus for displaying elasticity image
CN103584887B (en) Ultrasonic image-forming system and method
CN103648398A (en) Ultrasound diagnostic device and image processing device
US10809878B2 (en) Method and apparatus for displaying ultrasound image
JP2016508429A (en) Handheld medical imaging device with cursor pointer control
KR20160094221A (en) Ultrasound System And Method For Providing Guide To Improve HPRF Doppler Image
WO2024169957A1 (en) Heartbeat simulation method and apparatus, mobile device, and storage medium
CN115250339A (en) Method and device for improving blood flow video frame rate, ultrasonic equipment and storage medium
CN103675382B (en) The method and system shown for generating waveform
CN104887271B (en) Method, device and system for outputting blood flow information included in a region of interest
KR101511084B1 (en) Method and apparatus for medical image display and user interface screen generating method
US20160089108A1 (en) Ultrasound diagnostic apparatus and method of generating ultrasound image
CN112364765A (en) Method and device for detecting human eye movement fixation point
Wang et al. An LSL-Middleware Prototype for VR/AR Data Collection
CN115429319A (en) High-speed blood flow signal delay display method and device, ultrasonic equipment and storage medium
JP2007093523A (en) Waveform measuring device
KR102438750B1 (en) Method and diagnosis apparatus for removing a artifact
CN110661985A (en) Image data recording method, image data recording device, interrogation host and storage medium
CN112641468B (en) Ultrasonic imaging method, ultrasonic image processing method, ultrasonic apparatus, and storage medium
JP7143155B2 (en) DIGITAL WAVEFORM DISPLAY SYSTEM AND DIGITAL WAVEFORM DISPLAY METHOD
CN115061576B (en) Method for predicting fixation position of virtual reality scene and virtual reality equipment
CN109471578B (en) Waveform local display method, device, equipment and storage medium

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