A method, apparatus, electronic device, and readable storage medium for adjusting ultrasonic parameters.
By automatically updating the pulse repetition frequency of the ultrasound equipment to meet imaging conditions, the problem of high diagnostic time and cost caused by users manually adjusting parameters is solved, and rapid and efficient ultrasound diagnosis is achieved.
Patent Information
- Application Number
- CN202210623529.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-06-02
AI Technical Summary
In medical ultrasound diagnosis, users need to manually adjust the parameters of the ultrasound equipment to obtain blood flow velocity information at different locations, resulting in high diagnostic time costs and requiring a high level of skill.
By determining the target pulse repetition frequency, the spectral signal is acquired and it is determined whether the preset imaging conditions are met. If not, the target pulse repetition frequency is updated to the extreme value, and the frequency is adjusted using median calculation or weighted average method to meet the imaging conditions.
It enables rapid and efficient adjustment of ultrasound equipment parameters, improving diagnostic efficiency and reducing the time cost for users to manually adjust.
Smart Images

Figure CN117204878B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to an ultrasonic parameter adjustment method, an ultrasonic parameter adjustment device, an electronic device, and a computer-readable storage medium. Background Technology
[0002] Medical ultrasound diagnosis is one of the three major instrumental diagnostic methods in the medical field. Its basic principle involves using electronic waveforms emitted by the equipment to excite an ultrasound transducer (i.e., an ultrasound probe), causing it to emit mechanical waves of a fixed frequency. These waves enter the human body, are reflected back to the transducer, and the transducer receives the signal, converts it into an electronic signal, processes it, and displays it on the ultrasound equipment's monitor for user diagnosis. Doppler signals can be used as a diagnostic tool in ultrasound equipment. Utilizing the Doppler effect of sound waves, the Doppler frequency shift is displayed in a spectral or color-mapped manner, and Doppler sampling is performed on B-mode images. Because the velocity of blood flow in the human body varies significantly at different locations, obtaining accurate velocity information for blood flow at different locations during diagnosis requires the user to manually and continuously adjust the ultrasound equipment parameters, greatly increasing the time cost of diagnosis and requiring a high level of user skill. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide an ultrasonic parameter adjustment method, ultrasonic parameter adjustment device, electronic device and computer-readable storage medium, which can quickly and efficiently adjust the parameters of ultrasonic equipment and improve the efficiency of use.
[0004] To solve the above-mentioned technical problems, this application provides a method for adjusting ultrasound parameters, including: Determine the target pulse repetition frequency; The spectrum signal is obtained based on the target pulse repetition frequency, and it is determined whether the spectrum signal meets the preset imaging conditions. If the preset imaging conditions are not met, the extreme value of the target pulse repetition frequency is determined, and the adjusted pulse repetition frequency is obtained using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency. The target pulse repetition frequency is then updated based on the adjusted pulse repetition frequency.
[0005] Optionally, determining whether the spectral signal meets the preset imaging conditions includes: Determine whether the spectrum signal is aliased; If aliasing occurs, it is determined that the preset imaging conditions are not met; If no aliasing occurs, determine whether the ratio of the peak value of the spectral signal to the spectral range is within the preset range; If it is not within the preset range, then the preset imaging conditions are not met.
[0006] Optionally, determining the extreme value of the target pulse repetition frequency includes: If the spectral signal is aliased, the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency extreme value. If the ratio is less than the lower limit of the preset interval, then the minimum value of the pulse repetition frequency is determined as the extreme value of the target pulse repetition frequency. If the ratio is greater than the upper limit of the preset interval, then the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency extreme value.
[0007] Optionally, if the spectral signal aliasing occurs, determining the maximum value of the pulse repetition frequency as the target pulse repetition frequency extreme value includes: If the spectral signal is aliased, then determine whether the target pulse repetition frequency is the maximum value of the pulse repetition frequency; If it is not the maximum value of the pulse repetition frequency, then the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency extreme value.
[0008] Optionally, determining the target pulse repetition frequency includes: If a sampling frame setting operation is detected, determine whether the spectrum signal obtained based on the minimum value of the pulse repetition frequency is aliased. If aliasing occurs, the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency.
[0009] Optionally, detecting that a preset event has been triggered includes: If a change in the spectral signal is detected that meets a preset triggering condition, then the preset event is determined to be triggered. The preset triggering condition is at least one of the following: the change in the number of target pixels in the spectrum corresponding to the spectrum signal, the occurrence of aliasing, or the disappearance of aliasing.
[0010] Optionally, the step of obtaining the adjusted pulse repetition frequency using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and updating the target pulse repetition frequency based on the adjusted pulse repetition frequency, includes: Calculate the extreme value of the target pulse repetition frequency and the median of the target pulse repetition frequency; The target pulse repetition frequency is updated based on the result of median calculation.
[0011] This application also provides an ultrasonic parameter adjustment device, comprising: The initial determination module is used to determine the target pulse repetition frequency; The condition judgment module is used to acquire the spectrum signal based on the target pulse repetition frequency and determine whether the spectrum signal meets the preset imaging conditions. The update module is used to determine the extreme value of the target pulse repetition frequency if the preset imaging conditions are not met, and to obtain the adjusted pulse repetition frequency using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and to update the target pulse repetition frequency based on the adjusted pulse repetition frequency.
[0012] This application also provides an electronic device, including a memory and a processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program to implement the above-described ultrasonic parameter adjustment method.
[0013] This application also provides a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the above-described ultrasonic parameter adjustment method.
[0014] The ultrasound parameter adjustment method provided in this application determines the target pulse repetition frequency; acquires a spectral signal based on the target pulse repetition frequency, and determines whether the spectral signal meets the preset imaging conditions; if the preset imaging conditions are not met, the extreme value of the target pulse repetition frequency is determined, and the adjusted pulse repetition frequency is obtained using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and the target pulse repetition frequency is updated based on the adjusted pulse repetition frequency.
[0015] As can be seen, this method can automatically update the target pulse repetition frequency by determining the corresponding extreme value of the target pulse repetition frequency when the detected spectral signal does not meet the preset imaging conditions. When the appropriate value of the target pulse repetition frequency is unknown, by adjusting the current target pulse repetition frequency and the extreme value of the range selectable for the target pulse repetition frequency, the repetition frequency can be calculated and updated, quickly approximating the appropriate value, that is, rapidly adjusting the target pulse repetition frequency to the level that makes the spectral signal meet the preset imaging conditions. This method allows for rapid and efficient adjustment of the parameters of ultrasound equipment, improving its operational efficiency.
[0016] In addition, this application also provides an ultrasonic parameter adjustment device, an electronic device, and a computer-readable storage medium, which also have the above-mentioned beneficial effects. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0018] Figure 1 A flowchart of an ultrasonic parameter adjustment method provided in this application embodiment; Figure 2 This application provides a specific schematic diagram of a normal spectrum. Figure 3 A specific aliasing spectrum diagram is provided for an embodiment of this application; Figure 4 A histogram comparison of normal and aliased spectra provided in this application embodiment; Figure 5 A schematic diagram of a "double-peak" spectral structure of an aliased spectrum provided in this application embodiment; Figure 6 A flowchart illustrating a specific ultrasonic parameter adjustment method provided in this application embodiment; Figure 7 This is a schematic diagram of the structure of an ultrasonic parameter adjustment device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0020] The Doppler effect is a ubiquitous natural phenomenon. It refers to the relative frequency shift between the sound waves received and emitted by a sound source when there is relative motion between the sound source and the receiver. In ultrasound Doppler, the Doppler effect generated by the interaction of ultrasound waves and moving blood flow occurs both when moving blood cells (or moving ultrasound scatterers in the blood flow) receive ultrasound waves and when the ultrasound waves are reflected from the blood cells. Please refer to the following equation:
[0021] Where θ is the angle between the ultrasound probe and the direction of blood flow, V is the blood flow velocity, and f is the blood flow velocity. D It is the calculated frequency shift of the blood flow signal, f c denoted as , where is the frequency of the ultrasonic wave emitted by the probe, and c is the speed at which the ultrasonic wave propagates in human tissue.
[0022] The pulse repetition frequency (PRF) is the sampling frequency of an ultrasound device operating in Doppler mode; it's the frequency at which ultrasound waves are repeatedly emitted from the same spatial location for sampling. The sampling interval is called the repetition frequency (PRF). Based on the Nyquist sampling theorem, the sampling rate should be greater than twice the frequency of the data being analyzed. If it's less than twice the frequency, aliasing will occur. Therefore, there exists f... D The limitation of ≤PRF / 2 means that if you want to correctly collect f... D If the value is too high, then the PRF needs to be kept at a certain level. Furthermore, if the PRF is much greater than f... D Then, for the spectral signal (or Doppler signal, i.e., f), D When plotting a signal (e.g., a signal with a peak value), the peak and non-peak positions in the resulting spectrum graph may be indistinguishable, making it difficult for users to view. Therefore, in current practical applications, users need to frequently adjust the PRF value manually to obtain the correct signal. D The signal can obtain a spectrum diagram that is easy to view, which in turn leads to low efficiency.
[0023] To address this problem, this application proposes a method for adjusting ultrasonic parameters. Please refer to... Figure 1 , Figure 1 A flowchart illustrating an ultrasound parameter adjustment method provided in this application embodiment. The method includes: S101: Determine the target pulse repetition frequency.
[0024] It should be noted that each step in this application can be performed by a designated electronic device, which can be an ultrasound device or a designated device for setting parameters of the ultrasound device, such as a computer for controlling the ultrasound device.
[0025] The target pulse repetition frequency (PRF) refers to the PRF used by the ultrasound equipment for signal acquisition. It can be called the current PRF. Depending on factors such as the location of signal acquisition, the PRF value may be suitable or unsuitable. When it is unsuitable, the acquired spectral signal does not meet the preset imaging conditions; that is, the generated spectrogram does not conform to the preset imaging conditions. Under these conditions, it needs to be updated iteratively until it is adjusted to a suitable value.
[0026] This application does not limit the timing of determining the target pulse repetition frequency; different timings can be selected depending on the user's usage. For example, in feasible implementations, Doppler imaging can be considered necessary when the ultrasound equipment is used for the first time after being powered on, or when it is powered on again after being powered off, or each time it is switched to Doppler imaging mode. In these cases, it is necessary to determine the target pulse repetition frequency to facilitate imaging and subsequent possible ultrasound parameter adjustments. Specifically, the situations and conditions that can trigger the execution of this step can be referred to as preset events. When a preset event is detected as being triggered, this step begins.
[0027] Furthermore, this application does not limit the specific magnitude of the target pulse repetition frequency. Since the truly suitable value cannot be determined when setting the target pulse repetition frequency, any value of the target pulse repetition frequency can be selected at this time. For example, in one embodiment, the most recently used PRF value can be determined as the target pulse repetition frequency for this application. In another embodiment, to further improve the speed of adjusting the target pulse repetition frequency, extreme cases can be prioritized and excluded. For example, the maximum or minimum value of the selectable range of PRF can be selected as the target pulse repetition frequency so that if neither the maximum nor the minimum value meets the requirements, the target pulse repetition frequency will not be adjusted, reducing the consumption of computing resources. It should be noted that there can be multiple selectable ranges of PRF, i.e., multiple candidate ranges can exist. However, in one adjustment process, the PRF can only be adjusted within one selectable range. Therefore, the aforementioned maximum and minimum values specifically refer to the maximum and minimum values of the selected selectable range of PRF. The specific method for selecting the selectable range of PRF from multiple candidate ranges is not limited. For example, it can be manually selected by the user, or it can be selected based on factors such as the data acquisition mode, imaging mode, ultrasound probe model used, and the body part of the body from which the data is collected. In practical applications, the correspondence between the above factors and each candidate range can be preset, and the selectable range can be determined based on the correspondence when or before adjusting the PRF.
[0028] In one specific implementation, when determining the target pulse repetition frequency, it is possible to detect whether a preset event has been triggered. If the preset event is detected, it is then determined whether the spectrum signal obtained based on the minimum value of the pulse repetition frequency is aliased. The minimum value of the pulse repetition frequency is the minimum value within the selectable range of the PRF. In this implementation, the current PRF is first set to the minimum value within the selectable range to determine whether the spectrum signal can be obtained normally using this minimum value. If the spectrum signal obtained using the minimum value of the pulse repetition frequency exhibits aliasing, it indicates that the current PRF is not a suitable value. In this case, the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency to further determine whether the maximum value is a suitable value. It is understandable that if the current PRF is at the minimum value of the pulse repetition frequency, aliasing has already occurred. In this case, even if the obtained spectrum signal is not easy to view (e.g., the ratio of the peak value to the range of the spectrum signal is small, resulting in an indistinct peak), it cannot be improved by reducing the target pulse repetition frequency. Therefore, the minimum value can be directly determined as the most suitable one among the currently selectable PRF values. In this way, by prioritizing the detection of whether the two extreme values of the selectable range of the target pulse repetition frequency are appropriate values, the unnecessary iterative updates to the target pulse repetition frequency can be avoided.
[0029] Specifically, the content of the preset event is not limited as needed. For example, in one implementation, if a sampling frame setting operation is detected, it is determined that the preset event has been triggered. Optionally, determining the target pulse repetition frequency includes: if a sampling frame setting operation is detected, determining whether the spectrum signal obtained based on the minimum value of the pulse repetition frequency is aliased; if aliased, determining the maximum value of the pulse repetition frequency as the target pulse repetition frequency.
[0030] Please refer to Figure 2 , Figure 2 This is a specific schematic diagram of a normal spectrum diagram provided in an embodiment of this application. The lower half is a spectrum diagram generated based on the spectral signal, and the black parallelogram frame in the upper half is the sampling frame. Its size and position can be set based on user operations. The slanted vertical lines in the sampling frame represent the direction of the sound waves emitted by the ultrasonic probe. When the user performs a setting operation on the sampling frame, specifically changing its position or expanding its area, it is assumed that the detection location may have been changed. In this case, a preset event can be determined, and the target pulse repetition frequency can be re-determined. Please refer to... Figure 3 , Figure 3 This is a schematic diagram of a specific aliasing spectrum provided in an embodiment of this application. Figure 3 The lower half of the spectrum is the spectrum in which aliasing occurs.
[0031] In another implementation, the user may not reset the sampling frame but instead directly change the detection site, i.e., use the ultrasonic probe to directly detect other sites. In this case, the target pulse repetition frequency should also be redefined. Because the detection site has been changed, the acquired spectral signal differs significantly from the spectral signal acquired at the previous detection site, typically manifested as changes in the amplitude of the spectral signal, the appearance or disappearance of aliasing, etc. In this situation, a preset trigger condition can be set. The preset trigger condition is the amplitude condition of the change in the number of target pixels in the spectrum graph corresponding to the spectral signal, where the target pixels are the pixels corresponding to the spectral signal, for example... Figure 2 The lower half of the spectrum diagram contains black pixels (in some cases, the spectrum diagram has a black background with white lines, in which case the target pixels are white). If the difference between the number of target pixels in the currently generated spectrum diagram and the number of target pixels in the previously generated spectrum diagram is large, i.e., the change in number is significant, then it is considered that the target pulse repetition frequency needs to be redefined. Furthermore, when aliasing occurs, or when aliasing disappears, it is also considered that the target pulse repetition frequency needs to be redefined. Therefore, the preset trigger condition can be at least one of the following: the change in the number of target pixels in the spectrum diagram corresponding to the spectral signal; the occurrence of aliasing; or the disappearance of aliasing.
[0032] S102: Obtain the spectrum signal based on the target pulse repetition frequency, and determine whether the spectrum signal meets the preset imaging conditions.
[0033] After determining the target pulse repetition frequency (e.g., the maximum pulse repetition frequency), a spectral signal is acquired using it. This spectral signal is then used to generate a spectrogram each time it is obtained, or after it is determined that the spectral signal meets the imaging conditions. This application does not limit the specific process of acquiring the spectral signal. For example, in one embodiment, a preset time length can be used to acquire an ultrasonic echo signal of that preset time length based on the target pulse repetition frequency. The acquired ultrasonic echo signal is then subjected to autocorrelation processing or Fourier transform processing to obtain the processing result, i.e., the spectral signal.
[0034] Preset imaging conditions refer to pre-defined conditions that facilitate the display of spectral signals; their specific content is not limited. Most fundamentally, the spectrum obtained after imaging processing should be free of aliasing; otherwise, the spectral signal cannot be correctly viewed. Aliasing refers to the overlap of peak and trough values in the spectral signal. Furthermore, in another implementation, to facilitate viewing the peak values of the spectral signal, the preset imaging conditions can also specify the ratio of the peak value to the spectral range, where the spectral range refers to the maximum spectral signal value allowed to be displayed at the target pulse repetition frequency. Please refer to [reference needed]. Figure 2In the spectrum graph, the horizontal axis represents velocity, and the maximum value on the vertical axis is the spectrum range. It's understandable that this ratio should not be too large or too small; a moderate range is easier to observe.
[0035] Depending on the preset imaging conditions, the detection method for determining whether the spectral signal meets the conditions also varies. In one embodiment, it can be first determined whether aliasing occurs in the spectral signal. This application does not limit the specific detection method for aliasing; generally applicable image analysis methods can be used, such as histogram analysis, eigenvalue analysis, etc. For example, please refer to [reference needed]. Figure 4 , Figure 4 This document presents a histogram comparison of normal and aliased spectrograms, as provided in an embodiment of this application. The left side shows the histogram corresponding to the normal spectrogram, while the right side shows the histogram corresponding to the aliased spectrogram. It can be seen that the two are significantly different. Furthermore, the image characteristics of the aliased spectrum over several periods are an increased proportion of high-energy components and a large number of "double-peak" spectral structures. Therefore, the presence of spectral aliasing can be determined by detecting these "double-peak" spectral structures. Please refer to [reference needed]. Figure 5 , Figure 5 This is a schematic diagram of a "double-peak" spectral structure of an aliased spectrum provided in an embodiment of this application. The specific detection method is not limited in this application, and any detection method that can identify the "double-peak" spectral structure is feasible.
[0036] It should be noted that although the above methods for determining aliasing may use images such as histograms, the method of generating the histogram for aliasing determination is different from the method of generating the spectrogram. That is, when determining whether aliasing has occurred, a spectrogram corresponding to the spectral signal may not be generated. Instead, other methods are used to process the spectral signal to obtain the aliasing determination result. In addition, there are also methods that can determine whether aliasing has occurred without imaging. For example, in one feasible method, if the spectral signal is obtained by autocorrelation processing, then if the spectral signal appears at the extreme position of the signal interval, such as a value at +127 or -128, it indicates that aliasing has occurred.
[0037] If aliasing occurs, it can be directly determined that the preset imaging conditions are not met. If aliasing does not occur, it can be further determined whether the ratio of the peak value of the spectral signal to the spectral range is within the preset range. The width and upper and lower limits of the preset range are not limited. If it is not within the preset range, it is determined that the preset imaging conditions are not met.
[0038] Specifically, the following conditions can be preset:
[0039] Among them, V peak V represents the peak value of the spectral signal. maxFor the spectral range, i.e., the maximum value on the Y-axis, Scale min and Scale max The size can be set by the user, which corresponds to the upper and lower limits of the preset range and determines the width of the preset range.
[0040] It should be noted that if the preset imaging conditions are met, the process can be terminated, and the target pulse repetition frequency will no longer be updated. Ideally, the target pulse repetition frequency determined in step S101 should meet the preset imaging conditions.
[0041] S103: If the preset imaging conditions are not met, determine the extreme value of the target pulse repetition frequency, and use the extreme value and the target pulse repetition frequency to obtain the adjusted pulse repetition frequency. Update the target pulse repetition frequency based on the adjusted pulse repetition frequency. Specifically, replace the original target pulse repetition frequency with the adjusted pulse repetition frequency as the new target pulse repetition frequency to complete the update.
[0042] If the preset imaging conditions are not met, the target pulse repetition frequency needs to be updated, i.e., the current PRF value needs to be adjusted so that the spectrogram generated based on the updated target pulse repetition frequency meets the requirements of the preset imaging conditions. In one embodiment, since the appropriate value of the target pulse repetition frequency is unknown, in order to adjust the target pulse repetition frequency to an appropriate value as quickly as possible, the principle of median approximation can be adopted to approximate the appropriate value as quickly as possible. The principle of median approximation means that the adjusted pulse repetition frequency is calculated using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and the calculated adjusted pulse repetition frequency result is used as the new target pulse repetition frequency. The specific calculation method can be the median calculation method or the weighted average calculation method. Optionally, the step of obtaining the adjusted pulse repetition frequency using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and updating the target pulse repetition frequency based on the adjusted pulse repetition frequency, includes: performing median calculation on the extreme value of the target pulse repetition frequency and the target pulse repetition frequency; and updating the target pulse repetition frequency based on the result of the median calculation.
[0043] Among them, the extreme value of the target pulse repetition frequency is either the maximum or minimum value of the pulse repetition frequency. Depending on the content of the preset imaging conditions that are not met, the content of the extreme value of the target pulse repetition frequency will be different. It can be understood that the content of the preset imaging conditions that are not met may indicate that the current PRF is too small or too large and needs to be increased or decreased. The content of the extreme value of the target pulse repetition frequency selected accordingly is the maximum or minimum value.
[0044] Specifically, if the preset conditions include restrictions on aliasing and the ratio of peak value to spectral range, when determining the extreme value of the target pulse repetition frequency, if the reason for not meeting the preset imaging conditions was previously determined to be aliasing of the spectral signal, this indicates that the target pulse repetition frequency is too low and needs to be increased. Therefore, the maximum value of the pulse repetition frequency is determined as the extreme value of the target pulse repetition frequency. It should be noted that in one possible case, the current target pulse repetition frequency is already the maximum value. In this case, it is impossible to increase the target pulse frequency, even if aliasing still exists. Therefore, if aliasing occurs in the spectral signal, first determine whether the target pulse repetition frequency is the maximum value. If it is not the maximum value, then the maximum value is determined as the extreme value of the target pulse repetition frequency. Otherwise, the subsequent process can be stopped.
[0045] In another scenario, if the reason for not meeting the preset imaging conditions was previously determined to be that the ratio was less than the lower limit of the preset interval, it indicates that the target pulse repetition frequency is too high and needs to be reduced. Therefore, the minimum value of the pulse repetition frequency is determined as the extreme value of the target pulse repetition frequency. In a third scenario, if the reason for not meeting the preset imaging conditions was previously determined to be that the ratio was greater than the upper limit of the preset interval, it indicates that the target pulse repetition frequency is too low and needs to be increased. Therefore, the maximum value of the pulse repetition frequency is determined as the extreme value of the target pulse repetition frequency.
[0046] In one implementation, PRF can be utilized. min Representing the minimum value of the pulse repetition frequency, using PRF max Let represent the maximum value of the pulse repetition frequency. Therefore, the process of updating the target pulse repetition frequency based on the median calculation principle using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency can be expressed as:
[0047] or
[0048] Here, PRF is the target pulse repetition frequency. After calculating the median using PRF and the extreme value of the target pulse repetition frequency, the calculation result (i.e. the adjusted pulse repetition frequency) is reassigned to PRF to update the current PRF.
[0049] Furthermore, the PRF can be updated based on a weighted average calculation method. Specifically, the entire adjustment process can be represented as follows:
[0050] or
[0051] Where a and b are weighting coefficients, and usually a+b=2.
[0052] It should be noted that in a special case, if the target pulse repetition frequency is the maximum value of the pulse repetition frequency, and the ratio is greater than the upper limit of the preset interval, then it is also impossible to meet the preset imaging conditions by increasing the target pulse repetition frequency. Therefore, updating the target pulse repetition frequency can be stopped to avoid wasting resources. Thus, in a preferred embodiment, when the first determined target pulse repetition frequency is the maximum value of the PRF, the current PRF will continue to be adjusted only in the following situations: the current PRF is the maximum value of the PRF, no aliasing occurs, and the ratio is less than the lower limit of the preset interval. It is understandable that in practical applications, this situation is usually the most frequent.
[0053] After the update is complete, step S102 is executed again to detect the updated target pulse repetition frequency and adjust it again if the preset imaging conditions are not met until the preset imaging conditions are met.
[0054] Once the preset imaging conditions are met, a spectrogram can be generated using the spectral signal, and then visualized. The visualization output can be referenced. Figure 2 .
[0055] Please refer to Figure 6 , Figure 6 This application provides a flowchart of a specific ultrasound parameter adjustment method. The ultrasound parameter adjustment process is triggered after detecting that the user has moved the sampling frame (i.e., the sampling box) to a designated position. First, the target pulse repetition frequency is set to the minimum pulse repetition frequency, i.e., the lowest value supported by the system, min_PRF (i.e., PRF). min The system uses the target pulse repetition frequency to acquire pulse signals, calculate blood flow velocity, and generate a spectrum. After obtaining the spectrum, it checks for aliasing. If no aliasing occurs, no further adjustment is needed. If aliasing exists, the target pulse repetition frequency is set to the highest value supported by the system, max_PRF (i.e., PRF). maxThe process involves acquiring pulse signals, calculating blood flow velocity, and generating a spectrum using the target pulse repetition frequency. After obtaining the spectrum, it checks for aliasing. If aliasing still occurs, it means that adjusting the PRF (pulse repetition frequency) cannot eliminate it, and the process ends. If aliasing does not occur, it means that adjusting the PRF can eliminate it. To determine the appropriate value for the current PRF, it can be adjusted starting from the midpoint of the selectable range of pulse repetition frequencies. Therefore, PRF = (min_PRF + max_PRF) / 2, and the process checks for aliasing again. If yes, PRF = (PRF + max_PRF) / 2 is set to increase the current PRF; otherwise, PRF = (PRF + min_PRF) / 2 is set to decrease the PRF. After adjustment, it checks if the termination condition is met. The termination condition here refers to the absence of aliasing and the ratio of the peak value to the range of the spectrum signal being within a preset range. If the condition is met, there is no need to adjust the retaining wall PRF, and the process ends. If the condition is not met, the current adjusted PRF is determined based on whether aliasing occurs. If it is, process i is executed again, i.e., PRF = (PRF + max_PRF) / 2 is set to increase the current PRF. If not, process h is executed again, i.e., PRF = (PRF + min_PRF) / 2 is set to decrease the PRF, until the termination condition is met.
[0056] The ultrasound parameter adjustment method provided in this application can automatically update the target pulse repetition frequency using the median method when the detected spectral signal does not meet the preset imaging conditions. When the appropriate value of the target pulse repetition frequency is unknown, the current target pulse repetition frequency, along with the median of the extreme values within the selectable range of the target pulse repetition frequency, can be used to quickly approximate a suitable value, i.e., quickly adjust the target pulse repetition frequency to a level that allows the spectral signal to meet the preset imaging conditions. This method allows for rapid and efficient adjustment of ultrasound equipment parameters, improving operational efficiency.
[0057] The following provides an example of a specific application scenario for the ultrasound parameter adjustment method provided in this application. This application scenario includes a Doppler ultrasound device. In this specific scenario, the ultrasound device emits an ultrasound signal to the object to be detected and performs Doppler sampling on the ultrasound echo signal based on the Doppler effect. The spectral signal corresponding to the sampled signal is obtained based on the target pulse repetition frequency. When the spectral signal does not meet the imaging conditions, the target pulse repetition frequency is optimized and updated to obtain a spectral signal that meets the preset imaging conditions. This allows the user to obtain detection and diagnostic information based on the spectral signal. This method allows for rapid and efficient adjustment of the pulse repetition frequency of the ultrasound device, improving the efficiency of the ultrasound device in outputting detection and diagnostic information.
[0058] The ultrasonic parameter adjustment device provided in the embodiments of this application is described below. The ultrasonic parameter adjustment device described below and the ultrasonic parameter adjustment method described above can be referred to in correspondence.
[0059] Please refer to Figure 7 , Figure 7 A schematic diagram of an ultrasonic parameter adjustment device provided in this application embodiment includes: Initial determination module 110 is used to determine the target pulse repetition frequency; The condition judgment module 120 is used to acquire the spectrum signal based on the target pulse repetition frequency and determine whether the spectrum signal meets the preset imaging conditions. The update module 130 is used to determine the extreme value of the target pulse repetition frequency if the preset imaging conditions are not met, and to obtain the adjusted pulse repetition frequency using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and to update the target pulse repetition frequency based on the adjusted pulse repetition frequency.
[0060] Optionally, the condition judgment module 120 includes: The aliasing detection unit is used to determine whether aliasing occurs in the spectrum signal; The first determining unit is used to determine that the preset imaging conditions are not met if aliasing occurs. The interval judgment unit is used to determine whether the ratio of the peak value of the spectrum signal to the spectrum range is within a preset interval if no aliasing occurs. The second determining unit is used to determine that the preset imaging conditions are not met if the image is not within the preset range.
[0061] Optionally, update module 130, including: The first extreme value determination unit is used to determine the maximum value of the pulse repetition frequency as the target pulse repetition frequency extreme value if aliasing occurs in the spectrum signal. The second extreme value determination unit is used to determine the minimum value of the pulse repetition frequency as the target pulse repetition frequency extreme value if the ratio is less than the lower limit of the preset interval. The third extreme value determination unit is used to determine the maximum value of the pulse repetition frequency as the target pulse repetition frequency extreme value if the ratio is greater than the upper limit of the preset interval.
[0062] Optionally, the first extreme value determination unit includes: The maximum detection subunit is used to determine whether the target pulse repetition frequency is the maximum value of the pulse repetition frequency if aliasing occurs in the spectral signal. The maximum deterministic sub-unit is used to determine the maximum pulse repetition frequency as the target pulse repetition frequency extreme value if it is not the maximum pulse repetition frequency.
[0063] Optionally, the initial determination module 110 includes: The minimum detection unit is used to determine whether the spectrum signal obtained based on the minimum value of the pulse repetition frequency is aliased if a preset event is detected to be triggered. The maxima determination unit is used to determine the maximum value of the pulse repetition frequency as the target pulse repetition frequency if aliasing occurs.
[0064] Optionally, the extremely small detection unit includes: The first triggering unit is used to determine that a preset event has been triggered if a sampling frame setting operation is detected.
[0065] Optionally, the very small detection unit detects that a preset event has been triggered, including: The second triggering unit is used to determine that the preset event is triggered if a change in the detected spectrum signal meets the preset triggering conditions. The preset triggering condition is at least one of the following: the change in the number of target pixels in the spectrum corresponding to the spectrum signal, the occurrence of aliasing, or the disappearance of aliasing.
[0066] The electronic device provided in the embodiments of this application is described below. The electronic device described below can be referred to in correspondence with the ultrasonic parameter adjustment method described above.
[0067] Please refer to Figure 8 , Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 100 may include a processor 101 and a memory 102, and may further include one or more of the following: a multimedia component 103, an information input / output (I / O) interface 104, and a communication component 105.
[0068] The processor 101 controls the overall operation of the electronic device 100 to complete all or part of the steps in the ultrasound parameter adjustment method described above. The memory 102 stores various types of data to support the operation of the electronic device 100. This data may include, for example, instructions for any application or method operating on the electronic device 100, as well as application-related data. The memory 102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 storage, flash memory, magnetic disk, or optical disk.
[0069] Multimedia component 103 may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory 102 or transmitted via communication component 105. The audio component also includes at least one speaker for outputting audio signals. I / O interface 104 provides an interface between processor 101 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual or physical buttons. Communication component 105 is used for wired or wireless communication between electronic device 100 and other devices. Wireless communication may include Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of these. Therefore, the corresponding communication component 105 may include a Wi-Fi component, a Bluetooth component, and an NFC component.
[0070] The electronic 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 to perform the ultrasonic parameter adjustment method given in the above embodiments.
[0071] The following describes the computer-readable storage medium provided in the embodiments of this application. The computer-readable storage medium described below can be referred to in correspondence with the ultrasonic parameter adjustment method described above.
[0072] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described ultrasonic parameter adjustment method.
[0073] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0074] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0075] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0076] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0077] Finally, it should be noted that in this document, relationships such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "include," "contain," or any other variations are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus.
[0078] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for adjusting ultrasonic parameters, characterized in that, include: Determine the target pulse repetition frequency; The spectrum signal is obtained based on the target pulse repetition frequency, and it is determined whether the spectrum signal meets the preset imaging conditions. If the preset imaging conditions are not met, the extreme value of the target pulse repetition frequency is determined, and the adjusted pulse repetition frequency is obtained using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency. The target pulse repetition frequency is then updated based on the adjusted pulse repetition frequency. The determination of the extreme value of the target pulse repetition frequency includes: If the spectral signal is aliased, the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency extreme value. If the spectral signal does not alias and the ratio of the peak value of the spectral signal to the spectral range is less than the lower limit of the preset interval, then the minimum value of the pulse repetition frequency is determined as the extreme value of the target pulse repetition frequency. If the spectral signal does not aliased and the ratio of the peak value to the range of the spectral signal is greater than the upper limit of the preset interval, then the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency extreme value.
2. The ultrasonic parameter adjustment method according to claim 1, characterized in that, The step of determining whether the spectral signal meets the preset imaging conditions includes: Determine whether the spectrum signal is aliased; If aliasing occurs, it is determined that the preset imaging conditions are not met; If no aliasing occurs, determine whether the ratio of the peak value of the spectral signal to the spectral range is within the preset range; If it is not within the preset range, then the preset imaging conditions are not met.
3. The ultrasonic parameter adjustment method according to claim 1, characterized in that, If the spectral signal aliasing occurs, determining the maximum value of the pulse repetition frequency as the target pulse repetition frequency extreme value includes: If the spectral signal is aliased, then determine whether the target pulse repetition frequency is the maximum value of the pulse repetition frequency; If it is not the maximum value of the pulse repetition frequency, then the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency extreme value.
4. The ultrasonic parameter adjustment method according to claim 1, characterized in that, Determining the target pulse repetition frequency includes: If a sampling frame setting operation is detected, it is determined that a preset event has been triggered, and it is determined whether the spectrum signal obtained based on the minimum value of the pulse repetition frequency is aliased. If aliasing occurs, the maximum value of the pulse repetition frequency is determined as the target pulse repetition frequency.
5. The ultrasonic parameter adjustment method according to claim 4, characterized in that, The preset event is triggered, including: If a change in the spectral signal is detected that meets a preset triggering condition, then the preset event is determined to be triggered. The preset triggering condition is at least one of the following: the change in the number of target pixels in the spectrum corresponding to the spectrum signal, the occurrence of aliasing, or the disappearance of aliasing.
6. The ultrasonic parameter adjustment method according to any one of claims 1 to 5, characterized in that, The step of obtaining an adjusted pulse repetition frequency using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and updating the target pulse repetition frequency based on the adjusted pulse repetition frequency, includes: Calculate the extreme value of the target pulse repetition frequency and the median of the target pulse repetition frequency; The target pulse repetition frequency is updated based on the result of median calculation.
7. An ultrasonic parameter adjustment device, characterized in that, include: The initial determination module is used to determine the target pulse repetition frequency; The condition judgment module is used to acquire the spectrum signal based on the target pulse repetition frequency and determine whether the spectrum signal meets the preset imaging conditions. The update module is used to determine the extreme value of the target pulse repetition frequency if the preset imaging conditions are not met, and to obtain the adjusted pulse repetition frequency using the extreme value of the target pulse repetition frequency and the target pulse repetition frequency, and to update the target pulse repetition frequency based on the adjusted pulse repetition frequency. The update module includes: The first extreme value determination unit is used to determine the maximum value of the pulse repetition frequency as the target pulse repetition frequency extreme value if the spectrum signal is aliased. The second extreme value determination unit is used to determine the minimum value of the pulse repetition frequency as the target pulse repetition frequency extreme value if the spectrum signal does not alias and the ratio of the peak value of the spectrum signal to the spectrum range is less than the lower limit of the preset interval. The third extreme value determination unit is used to determine the maximum value of the pulse repetition frequency as the target pulse repetition frequency extreme value if the spectrum signal does not alias and the ratio of the peak value of the spectrum signal to the spectrum range is greater than the upper limit of the preset interval.
8. An electronic device, characterized in that, Includes memory and processor, wherein: The memory is used to store computer programs; The processor is configured to execute the computer program to implement the ultrasound parameter adjustment method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, Used to store a computer program, wherein the computer program, when executed by a processor, implements the ultrasonic parameter adjustment method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Pulse repetition frequency adjusting method and device for ultrasonic color blood flow imaging
CN106580372A
