Ultrasonic imaging method, device and system and storage medium
By dynamically adjusting the ultrasonic probe emission aperture and signal compensation technology, the problems of slow imaging speed and low image quality in traditional ultrasonic imaging technology are solved, and more efficient ultrasonic imaging is achieved.
Patent Information
- Application Number
- CN202410742014.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-18
- Publication Date
- 2024-09-27
AI Technical Summary
Traditional ultrasound imaging technology has the problems of slow imaging speed and low image quality. It requires frequent adjustment of focus position and quantity to improve image quality.
By dynamically determining the size of the transmission aperture each time an ultrasonic wave is emitted, the number of array elements and the array element directivity angle of the ultrasonic probe are used to dynamically adjust the transmission aperture, and combined with signal compensation and beam synthesis technology, the imaging speed and image quality are improved.
It improves the speed and image quality of ultrasound imaging, saves manpower, maximizes the use of array element resources, and ensures signal accuracy and image uniformity.
Smart Images

Figure CN118697375A
Abstract
Description
[0001] This application is a divisional application of the case with the application date of "November 18, 2020", application number "2020112931029", and invention name "Ultrasound imaging method, device, system and storage medium". Technical Field
[0002] The present application relates to the field of computer technology, and in particular to an ultrasonic imaging method, device, system and storage medium. Background Art
[0003] Ultrasound imaging is widely used in clinical diagnosis due to its advantages such as being non-destructive and capable of creating real-time images. Ultrasound imaging refers to the use of ultrasonic sound beams to scan the human body, and by receiving and processing the reflected signals from the human body, images of organs inside the human body can be obtained.
[0004] In traditional technology, when using ultrasound imaging to obtain images of the human body, the image acquisition process is a process of constantly adjusting the ultrasound imaging. When adjusting the ultrasound imaging, if the image at a certain position is dark, then the position of the focus needs to be adjusted to increase the brightness of the image at that position; or if there is a large difference between the center area and the edge area of the image, then the number of focuses needs to be adjusted to improve the uniformity of the overall image. In short, by adjusting the position and number of focuses, etc., the quality of the obtained ultrasound image can be finally made higher.
[0005] However, using the above technology for ultrasonic imaging has the problems of slow imaging speed and low image quality. Summary of the invention
[0006] Based on this, it is necessary to provide an ultrasonic imaging method, device, system and storage medium that can increase the imaging speed and improve the quality of the obtained image in order to address the above technical problems.
[0007] An ultrasonic imaging method, the method comprising:
[0008] Obtain the total number of array elements and array element directivity angles of the ultrasonic probe;
[0009] Within a preset number of transmissions, dynamically determining the size of the transmission aperture when transmitting the ultrasonic wave each time according to the total number of array elements and the directivity angle of the array elements; the size of the transmission aperture when transmitting the ultrasonic wave each time is different;
[0010] Transmitting ultrasonic waves to the target based on the sizes of the transmitting apertures, and receiving echo signals after each transmitted ultrasonic wave is reflected on the target;
[0011] Beam synthesis is performed on each of the above echo signals to obtain an ultrasonic image of the above target.
[0012] In one embodiment, the step of performing beamforming on each of the echo signals to obtain an ultrasonic image of the target includes:
[0013] Signal compensation is performed on each of the above echo signals, and beam synthesis is performed on each of the compensated echo signals to obtain an ultrasonic image of the above target.
[0014] In one embodiment, the signal compensation for each of the echo signals includes:
[0015] Determining a gain compensation coefficient corresponding to each of the echo signals according to a reception time of each of the echo signals and a transmission time of an ultrasonic wave corresponding to each of the echo signals;
[0016] The gain compensation coefficients corresponding to the echo signals are used to compensate the echo signals to obtain compensated echo signals.
[0017] In one embodiment, each of the echo signals is related to the depth of the target, and determining the gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals includes:
[0018] Determine the analog gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals;
[0019] Determining a digital gain compensation coefficient of each echo signal according to each echo signal at the depth of the target;
[0020] The above-mentioned using the gain compensation coefficient corresponding to each of the above echo signals to compensate each of the above echo signals respectively to obtain each compensated echo signal includes:
[0021] Each of the echo signals is compensated by using the analog gain compensation coefficient and the digital gain compensation coefficient corresponding to each of the echo signals to obtain each compensated echo signal.
[0022] In one embodiment, the analog gain compensation coefficient and the digital gain compensation coefficient corresponding to each of the echo signals are used to compensate each of the echo signals to obtain each compensated echo signal, including:
[0023] Performing primary compensation on each of the echo signals using the analog gain compensation coefficient corresponding to each of the echo signals to obtain each echo signal after primary compensation;
[0024] The digital gain compensation coefficient is used to perform secondary compensation on each echo signal after the primary compensation, so as to obtain each echo signal after the secondary compensation.
[0025] In one embodiment, the digital gain compensation coefficient is used to perform secondary compensation on each echo signal after the primary compensation to obtain each echo signal after the secondary compensation, including:
[0026] Performing analog-to-digital conversion processing on each echo signal after the first-level compensation to obtain a digital signal corresponding to each echo signal;
[0027] The digital gain compensation coefficient is used to perform secondary compensation on the digital signal corresponding to each echo signal to obtain each echo signal after secondary compensation.
[0028] In one embodiment, determining the analog gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals includes:
[0029] Calculating the time difference between the reception time of the echo signal and the corresponding transmission time of the ultrasonic wave, and matching the time difference with a preset time difference threshold range to obtain a matching result;
[0030] The analog gain compensation coefficient corresponding to each of the echo signals is determined according to the matching result.
[0031] In one embodiment, the preset time difference threshold range includes at least one time difference threshold range, each of which corresponds to an analog gain compensation coefficient; the analog gain compensation coefficient corresponding to each of the echo signals is determined according to the matching result, including:
[0032] If the time difference successfully matches one of the at least one time difference threshold range, the analog gain compensation coefficient corresponding to the successfully matched time difference threshold range is determined as the analog gain compensation coefficient of the echo signal;
[0033] If the time difference and all the time difference threshold ranges in the at least one time difference threshold range fail to match, the maximum analog gain compensation coefficient of the analog device is obtained, and the maximum analog gain compensation coefficient is determined as the analog gain compensation coefficient of the echo signal.
[0034] In one embodiment, the preset time difference threshold range includes a preset time difference threshold, and the determining of the analog gain compensation coefficient corresponding to each of the echo signals according to the matching result includes:
[0035] If the time difference of the echo signal is greater than the time difference threshold, determining that the analog gain compensation coefficient corresponding to the echo signal is a positive gain compensation coefficient;
[0036] If the time difference of the echo signal is less than the time difference threshold, determining that the analog gain compensation coefficient corresponding to the echo signal is a negative gain compensation coefficient;
[0037] If the time difference of the echo signal is equal to the time difference threshold, then the analog gain compensation coefficient corresponding to the echo signal is determined to be 1.
[0038] In one embodiment, before the analog gain compensation coefficient and the digital gain compensation coefficient corresponding to each of the echo signals are used to compensate each of the echo signals to obtain each compensated echo signal, the method further includes:
[0039] According to a preset data storage rule, the analog gain compensation coefficient corresponding to each of the above echo signals is placed in a ring buffer; the above data storage rule is a rule for storing the transmitted ultrasonic wave corresponding to the above echo signal, the analog gain compensation coefficient corresponding to the above echo signal, and the above echo signal in the order of the order;
[0040] The above-mentioned using the analog gain compensation coefficient and the digital gain compensation coefficient corresponding to each of the above echo signals to compensate each of the above echo signals to obtain each compensated echo signal includes:
[0041] The analog gain compensation coefficient corresponding to each of the echo signals is obtained from the ring buffer, and each of the echo signals is compensated in turn using the analog gain compensation coefficient and the digital gain compensation coefficient to obtain each compensated echo signal.
[0042] In one embodiment, the above-mentioned method of performing primary compensation on each of the above echo signals using the analog gain compensation coefficient corresponding to each of the above echo signals to obtain each echo signal after primary compensation includes:
[0043] The analog gain compensation coefficient corresponding to each of the echo signals is obtained from the ring buffer, and each of the echo signals is sequentially compensated for the first level using the analog gain compensation coefficient to obtain each echo signal after the first level compensation.
[0044] In one embodiment, the above-mentioned dynamically determining the transmission aperture size when transmitting the ultrasonic wave each time according to the above-mentioned total number of array elements and the above-mentioned array element directivity angle within the preset number of transmissions includes:
[0045] Within a preset number of transmissions, dynamically calculating two transmission boundary lines each time the ultrasonic wave is transmitted according to the total number of array elements and the directivity angle of the array elements;
[0046] Calculate the intersection points of the two emission boundary lines and the curve or straight line where each array element of the ultrasonic probe is located, and obtain two intersection points and the array elements where the two intersection points are located;
[0047] The number of array elements included between the array elements where the two intersection points are located is obtained, and the number of array elements included is determined as the transmit aperture size.
[0048] An ultrasonic imaging device, comprising:
[0049] An acquisition module is used to acquire the total number of array elements and the directivity angles of the array elements of the ultrasonic probe;
[0050] An aperture determination module is used to dynamically determine the size of the transmission aperture when transmitting the ultrasonic wave each time according to the total number of array elements and the directivity angle of the array elements within a preset number of transmissions; the size of the transmission aperture when transmitting the ultrasonic wave each time is different;
[0051] A transceiver module, used for transmitting ultrasonic waves to a target based on the sizes of the transmitting apertures, and receiving echo signals after each transmitted ultrasonic wave is reflected on the target;
[0052] The imaging module is used to perform beam synthesis on each of the above echo signals to obtain an ultrasonic image of the above target.
[0053] An ultrasonic imaging system includes an ultrasonic probe, a circuit processing module, a beam former and an image former.
[0054] The circuit processing module is used to obtain the total number of array elements and the directivity angle of the array elements of the ultrasonic probe; within a preset number of transmissions, dynamically determine the transmission aperture size when transmitting each ultrasonic wave according to the total number of array elements and the directivity angle of the array elements; control the ultrasonic probe to transmit the ultrasonic wave to the target based on the sizes of the transmission apertures, and control the ultrasonic probe to receive each echo signal after the ultrasonic wave transmitted each time is reflected on the target;
[0055] The beam former and the image former are used to perform beam synthesis on each of the echo signals to obtain an ultrasonic image of the target.
[0056] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0057] Obtain the total number of array elements and array element directivity angles of the ultrasonic probe;
[0058] Within a preset number of transmissions, dynamically determining the size of the transmission aperture when transmitting the ultrasonic wave each time according to the total number of array elements and the directivity angle of the array elements; the size of the transmission aperture when transmitting the ultrasonic wave each time is different;
[0059] Transmitting ultrasonic waves to the target based on the sizes of the transmitting apertures, and receiving echo signals after each transmitted ultrasonic wave is reflected on the target;
[0060] Beam synthesis is performed on each of the above echo signals to obtain an ultrasonic image of the above target.
[0061] The ultrasonic imaging method, device, system and storage medium described above dynamically determine the size of the transmission aperture each time an ultrasonic wave is transmitted according to the total number of array elements and the array element directivity angle of the ultrasonic probe obtained within the preset number of transmissions, transmit the ultrasonic wave to the target based on the size of each transmission aperture, receive each echo signal after the ultrasonic wave is reflected on the target each time, and perform beam synthesis on each echo signal to obtain an ultrasonic image of the target; wherein the size of the transmission aperture each time the ultrasonic wave is transmitted is different. In this method, since the size of the transmission aperture each time an ultrasonic wave is transmitted can be dynamically determined by the total number of array elements and the array element directivity angle of the ultrasonic probe, and there is no need to manually adjust the position and number of the focus each time an ultrasonic wave is transmitted, the method can improve the imaging speed and save manpower during the ultrasonic imaging process. In addition, since the size of the transmission aperture each time an ultrasonic wave is transmitted can be dynamically determined, the aperture determined in this way for each ultrasonic wave transmission can maximize the use of existing array element resources, thereby making the transmitted signal more accurate, so that the quality of the ultrasonic image obtained by the echo signal of the transmitted ultrasonic wave is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 is a diagram of an application environment of an ultrasonic imaging method in an embodiment;
[0063] Figure 2 is a schematic flow chart of an ultrasonic imaging method in one embodiment;
[0064] Figure 3 is a schematic flow chart of an ultrasound imaging method in another embodiment;
[0065] Figure 3a is an exemplary diagram of signal attenuation and compensation in another embodiment;
[0066] Figure 4 is a schematic flow chart of an ultrasound imaging method in another embodiment;
[0067] Figure 5 is an exemplary diagram of a ring buffer in another embodiment;
[0068] Figure 6 An exemplary diagram of a gain instruction insertion position in another embodiment;
[0069] Figure 7 is a schematic flow chart of an ultrasound imaging method in another embodiment;
[0070] Figure 7aAn example diagram of calculating the transmission aperture size of a convex array probe in another embodiment;
[0071] Figure 7b An example diagram of calculating the transmission aperture size of a linear array probe in another embodiment;
[0072] Figure 8 FIG. 4 is a structural block diagram of an ultrasonic imaging device in an embodiment. DETAILED DESCRIPTION
[0073] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0074] Traditional ultrasonic imaging generally uses transmit focusing, and then delays and superimposes the received echo signals and performs beam synthesis to obtain an ultrasonic image. The specific imaging process is to divide the image area into lines, and then parse the echo signals according to the time offset of the target point to obtain the data on these lines. In order to ensure the image quality, the number of lines must be increased, so the number of array element transmissions will also increase, which will eventually lead to a lower frame rate of the image. At the same time, the focus position is fixed during each transmission, and the uniformity of the image near field, near the focus, and far field is not good. At the same time, in order to ensure image quality, the number and position of the focus will be continuously adjusted during the imaging process, so there are problems of slow imaging speed and low image quality. Based on this, the embodiments of the present application provide an ultrasonic imaging method, device, system and storage medium that can solve the above technical problems.
[0075] The ultrasonic imaging method provided in the embodiment of the present application can be applied to an ultrasonic imaging system, see Figure 1 As shown, the ultrasound imaging system includes an ultrasound probe, a circuit processing module, a beam former and an image former.
[0076] The ultrasonic probe here may also be called an ultrasonic transducer, and an ultrasonic probe of a piezoelectric ceramic type, a single crystal type, etc. may be selected.
[0077] The circuit processing module here is used to obtain the total number of array elements and the array element directivity angle of the ultrasonic probe; within the preset number of transmissions, dynamically determine the transmission aperture size when each ultrasonic wave is transmitted according to the total number of array elements and the array element directivity angle; control the ultrasonic probe to transmit ultrasonic waves to the target based on the sizes of each transmission aperture, and control the ultrasonic probe to receive each echo signal after each ultrasonic wave is reflected on the target;
[0078] Specifically, the circuit processing module may include an analog front-end circuit, an FPGA controller, a transmitting and receiving circuit, and an A / D analog-to-digital conversion circuit. In addition, the FPGA includes a processor inside, which can obtain the total number of array elements and the directivity angle of the array elements of the ultrasonic probe; within the preset number of transmissions, according to the total number of array elements and the directivity angle of the array elements, the size of the transmitting aperture when each ultrasonic wave is transmitted is dynamically determined. The analog front-end circuit directly applies an excitation pulse to the ultrasonic probe, controls the ultrasonic probe to transmit ultrasonic waves according to the dynamically determined transmitting aperture size each time, and includes a variable gain amplifier for amplifying or suppressing the echo signal received by the ultrasonic probe, that is, the echo signal can be compensated, and then the A / D analog-to-digital conversion circuit is used for data conversion; the FPGA controller can control the transmitting and receiving circuits, and the FPGA controller can compress the data after the A / D analog-to-digital conversion and then transmit the compressed data to the beamformer. The analog front-end circuit, FPGA controller, transmitting and receiving circuit, and A / D analog-to-digital conversion circuit here can constitute a computer device.
[0079] The beam former and image former are used to perform beam synthesis on each echo signal to obtain an ultrasonic image of the target.
[0080] Specifically, the beamformer can be implemented by a processor, which can include three parts: signal extraction, signal analysis, and data interpolation of each echo signal. Each echo signal received by the beamformer is compressed data. Data compression is to increase the amount of data transmitted per unit time, so the first step is to extract and decompress the data, and then use a bandpass filter to analyze the data according to the characteristics of the signal. Finally, the filtered data is interpolated to obtain the interpolated data and sent to the image former. The interpolation method here can use adaptive interpolation algorithms such as nearest neighbor interpolation, quadratic interpolation, and cubic interpolation.
[0081] The image former can also be implemented by a processor, which can receive data from the beamformer, first composite the image, and can use coherent composite or incoherent composite. After composite, you can choose 3x3\5x5\adaptive filtering algorithm, and finally render the obtained image through OpenGL or DirectX. After rendering, the image of the rendered target can be displayed to the user.
[0082] It should be noted that the execution subject of the embodiment of the present application may be an ultrasonic imaging system or an ultrasonic imaging device. The following describes the technical solution of the present application using the ultrasonic imaging system as the execution subject.
[0083] In one embodiment, an ultrasonic imaging method is provided. The embodiment of the present application relates to a specific process of calculating the transmit aperture size, compensating the received echo signal, and obtaining an ultrasonic image based on the compensated echo signal. Figure 2 As shown, the method may include the following steps:
[0084] S202: Obtain the total number of array elements and array element directivity angles of the ultrasonic probe.
[0085] The ultrasonic probe here can be a convex array probe or a linear array probe, etc. The total number of array elements included in the ultrasonic probe can be pre-set according to actual conditions and stored locally, and can be directly called when needed.
[0086] In addition, according to the properties of the material of the ultrasonic probe, the array elements in the ultrasonic probe have directivity, and the directivity of the array elements determines the angle at which no sound wave aliasing occurs. λ is the wavelength of the ultrasonic sound wave, and d is the width of the array element in the ultrasonic probe.
[0087] That is to say, after the ultrasonic probe is determined, the sound wave wavelength and array element width of the ultrasonic probe can also be determined. Then, the maximum angle of the array element directivity angle can be calculated based on the relationship satisfied by the above-mentioned array element directivity angle. Angles less than or equal to the maximum angle can be the array element directivity angle.
[0088] S204, dynamically determining the size of the transmitting aperture when transmitting the ultrasonic wave each time according to the total number of array elements and the directivity angle of the array elements within the preset number of transmissions.
[0089] The preset number of transmissions here can be input by the user according to the needs, for example, it can be 10 times, 20 times, 30 times, etc. The transmission aperture size is different each time the ultrasonic wave is transmitted here, and the transmission aperture size here is mainly expressed by the number of array elements. For example, if the number of array elements included in the transmission aperture is 5, then it can be considered that the transmission aperture size is 5.
[0090] In addition, within the above-mentioned preset number of transmissions, each time the ultrasonic wave is transmitted, the transmission aperture size for that time will be dynamically calculated. That is to say, the aperture size for each ultrasonic wave transmission is not fixed and will be recalculated according to the actual situation so that the effective resources of the array element can be fully utilized.
[0091] When calculating the size of the transmit aperture each time, within the preset number of transmissions, each time an ultrasonic wave is transmitted, there will be a virtual focus. Usually, the ultrasonic probe will also have a center of the circle (if it is a linear array, the center of the circle can be considered to be at infinity). Then, the position of the center of the circle, the position of the virtual focus, and the position of the ultrasonic wave transmitted from the virtual focus to any direction can be used to determine the angle between the array element where the transmission boundary line is located and the center of the circle each time the ultrasonic wave is transmitted. After that, the transmission aperture size when transmitting the ultrasonic wave can be determined by the constraint condition between the angle and the maximum angle of the directivity angle of the array element (generally, this angle will be less than or equal to the maximum angle of the directivity angle of the array element), and according to the constraint condition of the transmit aperture size of the array element (generally, the transmit aperture size will be less than or equal to the total number of array elements). Usually, the position of the virtual focus is different each time the ultrasonic wave is transmitted, so different transmit aperture sizes can be obtained.
[0092] S206, transmitting ultrasonic waves to the target based on the sizes of the transmitting apertures, and receiving echo signals after the ultrasonic waves transmitted each time are reflected on the target.
[0093] Specifically, after calculating the transmit aperture size for each ultrasonic wave emission within a preset number of times, taking the transmit aperture size of that time as an example, all array elements within the transmit aperture size range can be activated to transmit ultrasonic waves, that is, to transmit ultrasonic waves to the target. After the ultrasonic waves emitted this time are reflected on the target, an echo signal will be formed. The echo signal can be received by all array elements on the ultrasonic probe, or by a part of the array elements. In short, the array elements on the ultrasonic probe can receive the echo signal corresponding to the ultrasonic wave emitted this time. After calculating the transmit aperture size within other emission times, ultrasonic waves can also be emitted in this way and the corresponding echo signals can be received. In short, the echo signal corresponding to each ultrasonic wave emission can be received in the end.
[0094] By activating all array elements within the range of the transmit aperture size when transmitting the ultrasonic wave, the array element resources within the range of the transmit aperture size can be utilized to the maximum extent, ensuring that the ultrasonic wave signal transmitted at the time is the best, thereby ensuring that the received echo signal will also be more accurate.
[0095] In addition, the target here can be a human body, an animal, a plant, etc.
[0096] S208, performing beam synthesis on each of the above echo signals to obtain an ultrasonic image of the above target.
[0097] In this step, after receiving the echo signal corresponding to each ultrasonic wave emitted, the echo signal can be beamformed, that is, each echo signal is subjected to analog-to-digital conversion, signal extraction, signal analysis, and signal interpolation to obtain a digital image corresponding to each echo signal, and each obtained digital image is composited and rendered to finally obtain an ultrasonic image of the target.
[0098] In the above-mentioned ultrasonic imaging method, the size of the transmitting aperture when each ultrasonic wave is transmitted is dynamically determined according to the total number of array elements and the array element directivity angle of the ultrasonic probe obtained within the preset number of transmissions, and ultrasonic waves are transmitted to the target based on the sizes of the transmitting apertures, and each echo signal after the ultrasonic wave is reflected on the target each time is transmitted is received, and each echo signal is beamformed to obtain an ultrasonic image of the target; wherein the size of the transmitting aperture when each ultrasonic wave is transmitted is different. In this method, since the size of the transmitting aperture when each ultrasonic wave is transmitted can be dynamically determined according to the total number of array elements and the array element directivity angle of the ultrasonic probe, and the position and number of the focus do not need to be manually adjusted each time the ultrasonic wave is transmitted, the method can improve the imaging speed and save manpower during the ultrasonic imaging process. In addition, since the size of the transmitting aperture when each ultrasonic wave is transmitted can be dynamically determined, the aperture determined in this way for each ultrasonic wave to be transmitted can maximize the use of existing array element resources, thereby making the transmitted signal more accurate, and thus the quality of the ultrasonic image obtained by the echo signal of the transmitted ultrasonic wave is higher.
[0099] In another embodiment, another ultrasound imaging method is provided. The embodiment of the present application relates to a specific process of compensating the above echo signals and then performing beam synthesis to obtain an ultrasound image. Based on the above embodiment, the above S208 may include the following steps:
[0100] Signal compensation is performed on each of the above echo signals, and beam synthesis is performed on each of the compensated echo signals to obtain an ultrasonic image of the above target.
[0101] In this step, after receiving the echo signal corresponding to each ultrasonic emission, the echo signal of that time can be compensated directly, or after receiving the echo signals corresponding to all ultrasonic emissions, all echo signals can be compensated. Of course, other compensation methods are also possible.
[0102] Here, when compensating the echo signal, only analog compensation may be performed on the echo signal, or only digital compensation may be performed on the echo signal. Of course, both analog compensation and digital compensation may be performed on the echo signal at the same time, which is not specifically limited in this embodiment.
[0103] Furthermore, after the echo signals are compensated, beam synthesis can be performed on the echo signals, that is, analog-to-digital conversion, signal extraction, signal analysis and signal interpolation are performed on each echo signal to obtain a digital image corresponding to each echo signal, and each obtained digital image is composited and rendered to finally obtain an ultrasonic image of the target.
[0104] The ultrasonic imaging method in this embodiment can compensate for the echo signal when the echo is received. Therefore, when the ultrasonic image is obtained by using the compensated echo signal, the quality of the obtained ultrasonic image can be further improved.
[0105] In another embodiment, another ultrasound imaging method is provided. The embodiment of the present application relates to a specific process of calculating a corresponding gain compensation coefficient according to the reception time and the transmission time of the echo signal, and using the gain compensation coefficient to compensate the echo signal. Figure 3 As shown, the signal compensation for each echo signal in the above steps may include the following steps:
[0106] S302, determining a gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals.
[0107] In this step, each time the ultrasonic wave is emitted, the emission time of the ultrasonic wave emitted can be recorded. At the same time, after receiving the echo signal corresponding to the ultrasonic wave emitted, the receiving time of the echo signal can be recorded. In this way, the time difference between the two can be calculated through the receiving time of the echo signal and the emission time of the corresponding ultrasonic wave.
[0108] After the time difference is calculated as above, the gain compensation coefficient can be determined according to the time difference. Optionally, the gain compensation coefficient used here includes an analog gain compensation coefficient and a digital gain compensation coefficient, so the following steps A1 and A2 can be used to determine the analog gain compensation coefficient and the digital gain compensation coefficient respectively:
[0109] Step A1, determining the analog gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals.
[0110] In this step, after calculating the time difference between the receiving time and the transmitting time of the echo signal, the analog gain compensation coefficient can be determined according to the time difference. Taking the time difference of an echo signal as an example, for example, the time difference of the echo signal can be compared with the reference time difference threshold or threshold range, and the analog gain compensation coefficient corresponding to the echo signal can be determined by the comparison result; of course, the time difference of the echo signal can also be compared with the time difference of the two echo signals before and after, and the analog gain compensation coefficient corresponding to the echo signal can be determined by the comparison result; of course, it can also be determined by other methods, and only a few examples are given here.
[0111] Step A2: determining a digital gain compensation coefficient of each echo signal according to each echo signal at the depth of the target.
[0112] In this step, when ultrasonic waves are emitted to the target, they are reflected at different depths of the target, which can be reflected in the echo signal. That is to say, the above echo signals are related to the depth of the target, that is, the depths corresponding to the received echo signals may be different.
[0113] Specifically, after obtaining the echo signals of the target at different depths, since the strength of the echo signal is related to the attenuation of the transmitted signal, the noise signal and the depth of the target, the attenuation degree of the echo signal can be calculated by the attenuation, the noise signal and the depth of the target, and then the corresponding digital gain compensation coefficient can be calculated based on the attenuation degree.
[0114] For example, assuming that the attenuation α of the ultrasonic transmission signal is approximately uniform, the signal strength of the transmission signal and the ultrasonic propagation time can be exponentially related, which can be expressed as formula (1) in the ideal case without noise:
[0115] S(h)=S(0)e α (1), where S(h) represents the signal strength associated with the depth h of the target, S(0) represents the depth of 0, i.e., the initial signal strength, α is the attenuation of signal transmission, and h is the depth of the target, which is proportional to the ultrasonic transmission time and can also be called the ultrasonic transmission time.
[0116] After adding the noise signal during signal transmission, the relationship between the actual signal strength and the ultrasonic transmission time can be expressed as the following formula (2):
[0117] Among them, ε is the noise signal.
[0118] Then the digital gain compensation coefficient can be calculated by the above formulas (1) and (2), which can be expressed as the following formula (3):
[0119] Where Γ(h) is the digital gain compensation coefficient.
[0120] In the above formula (3), the attenuation α of signal transmission can be pre-set as a known value, and the noise signal ε can also be set as a known value. Then the digital gain compensation coefficient is only related to the depth of the target, that is, the different depths of the target can be known through the intensity of the echo signal, and the digital gain compensation coefficient corresponding to the echo signal of different depths can be calculated by formula (3).
[0121] S304: Compensate each of the echo signals using the gain compensation coefficient corresponding to each of the echo signals to obtain compensated echo signals.
[0122] Accordingly, after the analog gain compensation coefficient and the digital gain compensation coefficient of each echo signal are determined, the analog gain compensation coefficient and the digital gain compensation coefficient corresponding to each echo signal can be used to compensate each echo signal to obtain each compensated echo signal. For this step, optionally, the following steps B1-B2 can be used to compensate each echo signal:
[0123] Step B1, performing primary compensation on each of the echo signals using the analog gain compensation coefficient corresponding to each of the echo signals, to obtain each echo signal after primary compensation.
[0124] Step B2, using the digital gain compensation coefficient to perform secondary compensation on each echo signal after the primary compensation, to obtain each echo signal after the secondary compensation.
[0125] Among them, the first-level compensation refers to the use of analog gain compensation coefficients to perform analog compensation on the echo signal, and the second-level compensation refers to the use of digital gain compensation coefficients to perform digital compensation after analog compensation on the echo signal, which is the second compensation and is recorded as second-level compensation.
[0126] In steps B1 and B2, the analog gain compensation coefficient corresponding to each echo signal may be used to perform mathematical operations on each echo signal to obtain an echo signal after primary compensation of each echo signal. The mathematical operations here may be multiplication or the like.
[0127] Of course, after the first level compensation processing, since each echo signal is still an analog signal, generally during analog compensation, not too much compensation will be made to prevent the noise from being amplified and affecting the accuracy of the compensation result. On this basis, the second level digital compensation can be performed. Optionally, the above step B2 may include:
[0128] Perform analog-to-digital conversion processing on each echo signal after the above-mentioned first-level compensation to obtain a digital signal corresponding to each echo signal; use the above-mentioned digital gain compensation coefficient to perform second-level compensation on the digital signal corresponding to each echo signal to obtain each echo signal after the second-level compensation.
[0129] That is to say, before performing secondary digital compensation, the echo signal after primary compensation can be converted into digital form using an analog-to-digital conversion module to obtain a digital signal corresponding to each echo signal, and then the digital gain compensation coefficient calculated above is used to perform mathematical operations on each digital signal to compensate the digital signal and obtain each echo signal after secondary compensation. The mathematical operation here is the same as above, which can be a multiplication or other processing. Further compensation of the echo signal in the digital domain here can make the compensation result more accurate, that is, the compensated echo signal is more accurate and has less noise, so the quality of the ultrasonic image obtained by each compensated echo signal is naturally higher.
[0130] It should be noted that see Figure 3a As shown, the deeper the target is, the greater the attenuation of the transmitted signal is, and the lower the quality of the imaging is, that is, the lower the quality of the far-field image is. In order to ensure the uniformity of the far-field image, the analog compensation plus digital compensation here can be used. ( Figure 3a The figure shows the process of using digital compensation), that is, a gain compensation curve related to the depth and / or time of the target is used to compensate the echo signal. Through analog compensation and digital compensation, the uniformity of far-field and near-field images can be guaranteed, and the quality of ultrasound images will not be reduced in the absence of focus.
[0131] The ultrasonic imaging method in this embodiment can calculate the gain compensation coefficient according to the receiving time and the transmitting time of the echo signal, and use the gain compensation coefficient to compensate the echo signal. In this way, the method of using the compensation coefficient to compensate the echo signal is relatively simple and effective, so that the speed of subsequent imaging using the echo signal can be improved. Further, the echo signal is compensated in two stages using the analog gain coefficient and the digital gain coefficient respectively, so that the compensation of the echo signal can be more accurate, thereby improving the image quality of the ultrasonic image obtained by the echo signal. Furthermore, during digital compensation, the analog echo signal can be converted into digital first, so that the converted echo signal can be digitally compensated more accurately, so that the uniformity of the far field and near field of the ultrasonic image can be guaranteed, and the image quality of the ultrasonic image can be further guaranteed.
[0132] In another embodiment, another ultrasound imaging method is provided. The embodiment of the present application relates to a possible implementation method of how to calculate the corresponding gain compensation coefficient according to the reception time and transmission time of the echo signal. Figure 4 As shown, the above step A1 may include the following steps:
[0133] S402, calculating the time difference between the reception time of the echo signal and the corresponding transmission time of the ultrasonic wave, and matching the time difference with a preset time difference threshold range to obtain a matching result.
[0134] In this step, the preset time difference threshold range can be one time difference threshold range or multiple time difference threshold ranges; of course, the preset time difference threshold range here can also be a single time difference threshold. Whether it is a time difference threshold range or a time difference threshold, it can be preset according to actual conditions.
[0135] Specifically, after calculating the time difference between the receiving time and the transmitting time of each echo signal, the time difference of each echo signal can be matched with a preset time difference threshold range, or the time difference of each echo signal can be matched with a preset time difference threshold. In short, a matching result can be obtained in the end.
[0136] S404: Determine analog gain compensation coefficients corresponding to the echo signals according to the matching results.
[0137] In this step, after the matching result of the time difference of each echo signal is obtained, an echo signal is taken as an example for explanation. Two possible implementation methods of determining the analog gain compensation coefficient according to the matching result are given below.
[0138] In a possible implementation, it is assumed that the above-mentioned time difference threshold range includes at least one time difference threshold range, wherein each time difference threshold range corresponds to a set analog gain compensation coefficient. Here, the analog gain compensation coefficient of the time compensation module in the AFE5832 chip is taken as an example. The adjustment gear range of the analog gain compensation coefficient is [0,288], with a total of 289 gears, and the step between each gear is 0.125db. The analog gain compensation coefficient here can be related to time, for example, the analog gain compensation coefficient 2 corresponds to time 2, and so on.
[0139] Then, when matching the time difference and at least one time difference threshold range, optionally, if the time difference and one of the at least one time difference threshold ranges match successfully, the analog gain compensation coefficient corresponding to the successfully matched time difference threshold range is determined as the analog gain compensation coefficient of the echo signal; if the time difference and all the time difference threshold ranges in the at least one time difference threshold range fail to match, the maximum analog gain compensation coefficient of the analog device is obtained, and the maximum analog gain compensation coefficient is determined as the analog gain compensation coefficient of the echo signal.
[0140] That is to say, if the calculated time difference successfully matches a certain time difference threshold range, that is, the time difference falls within the certain time difference threshold range, then the analog gain compensation coefficient corresponding to the certain time difference threshold range can be used as the analog gain compensation coefficient corresponding to the calculated time difference, that is, the analog gain compensation coefficient corresponding to the echo signal. If the calculated time difference does not fall within any time difference threshold range, that is, it exceeds all time difference threshold ranges, then it can be considered that the time difference matching fails, and the maximum value in the adjustment gear range of the analog gain compensation coefficient of the above-mentioned AFE5832 chip (i.e., analog device), that is, the value calculated by stepping to the 288 gear, can be used as the analog gain compensation coefficient of the echo signal.
[0141] By matching the time difference with multiple time difference threshold ranges, the time difference matching process can be refined, so that the time difference matching result is more accurate, and the analog gain coefficient of the echo signal is more accurate, so the analog compensation of the echo signal is more accurate.
[0142] Another possible implementation is given below. In another possible implementation, assuming that the above-mentioned preset time difference threshold range includes a preset time difference threshold, that is, the preset time difference threshold range is a time difference threshold, then after matching to obtain a matching result, optionally, if the time difference of the above-mentioned echo signal is greater than the above-mentioned time difference threshold, then the analog gain compensation coefficient corresponding to the above-mentioned echo signal is determined to be a positive gain compensation coefficient; if the time difference of the above-mentioned echo signal is less than the above-mentioned time difference threshold, then the analog gain compensation coefficient corresponding to the above-mentioned echo signal is determined to be a negative gain compensation coefficient; if the time difference of the above-mentioned echo signal is equal to the above-mentioned time difference threshold, then the analog gain compensation coefficient corresponding to the above-mentioned echo signal is determined to be 1.
[0143] That is to say, a more suitable gear can be selected from the adjustment gear range of the analog gain compensation coefficient of the above-mentioned AFE5832 chip, and the analog gain compensation coefficient corresponding to the gear can be calculated by stepping, and a time difference threshold can be determined accordingly. Then, when matching, the calculated time difference and the time difference threshold can be compared. If the calculated time difference is greater than the time difference threshold, it means that the depth of the echo signal is far, so the signal strength must be attenuated a lot, and the corresponding far-field image quality must be very low, so a positive gain compensation coefficient can be given to the echo signal to increase the signal strength, thereby improving the far-field image quality. If the calculated time difference is less than the time difference threshold, it means that the depth of the echo signal is close, and it may belong to the near field, so the corresponding signal strength may be too strong, causing uneven images, so a negative gain compensation coefficient can be given to the echo signal to reduce the signal strength, thereby improving the near-field image quality. If the calculated time difference is equal to the time difference threshold, it means that the signal strength at this time is more appropriate, and 1 can be used as the gain compensation coefficient of the echo signal, that is, the echo signal is not enhanced or reduced.
[0144] Here, matching is performed by means of time difference and time difference threshold, which can simplify the matching process of time difference, thereby speeding up the speed of compensating echo signals, and further increasing the speed of ultrasonic imaging through echo signals.
[0145] For other echo signals, the above two implementations can be used to perform time difference matching, which will not be listed here one by one.
[0146] The ultrasonic imaging method in this embodiment can calculate the time difference between the reception time and the transmission time of the echo signal, and determine the analog gain compensation coefficient of the echo signal through the matching result of the time difference and the time difference threshold range. In this embodiment, the analog gain compensation coefficient of the echo signal is determined through the matching process of the time difference and the time difference threshold range, which can simplify the calculation process of the analog gain compensation coefficient, thereby saving the compensation time for the echo signal, and further improving the speed of imaging through the echo signal.
[0147] In another embodiment, another ultrasound imaging method is provided. The embodiment of the present application relates to a specific process of how to put the analog gain compensation coefficient into the ring buffer. Based on the above embodiment, before the analog gain compensation coefficient and the digital gain compensation coefficient are used to compensate the echo signal, the above method may further include the following steps C1:
[0148] Step C1, according to the preset data storage rule, the analog gain compensation coefficient corresponding to each of the above echo signals is placed into a circular buffer; the above data storage rule is a rule for storing them in the order of the emitted ultrasonic wave corresponding to the above echo signal, the analog gain compensation coefficient corresponding to the above echo signal and the above echo signal.
[0149] In this step, generally, when the ultrasonic probe is in working state, the array elements therein exist three states: transmitting, receiving, and idle. The conversion of the three states can be performed by the FPGA controller, and the control instructions of the variable gain device can also be sent by the FPGA controller. In order to avoid the increase of system overhead and memory fragmentation caused by frequent memory allocation and release, which eventually leads to slow system operation, a circular buffer is used here to store the array element control instructions. The schematic diagram of the instructions stored in the circular buffer can be seen in FIG. Figure 5 As shown, the storage rules of each group of signals are transmission instructions, gain instructions, receiving instructions, and idle. The gain instructions here can include the above-mentioned time difference threshold range and the analog gain compensation coefficient corresponding to each time difference threshold range, that is, the analog gain compensation coefficient is stored in the ring buffer. The specific location for inserting the gain instruction can be seen in Figure 6 shown.
[0150] After the analog gain compensation coefficients of the above-mentioned echo signals are inserted into the circular buffer, each echo signal can be compensated for the first level. Specifically, when compensating, the analog gain compensation coefficients corresponding to each echo signal can be obtained from the circular buffer, and each analog gain compensation coefficient and the digital gain compensation coefficient can be used to compensate each echo signal in turn to obtain each echo signal after compensation. When the analog gain compensation coefficient and the digital gain compensation coefficient are used for specific compensation, the analog gain compensation coefficients corresponding to each echo signal can be obtained from the circular buffer, and each analog gain compensation coefficient can be used to compensate each echo signal in turn to obtain each echo signal after first level compensation. That is to say, when compensating each echo signal, the gain instructions corresponding to each echo signal can be selected from the circular buffer in turn, and the analog gain compensation coefficient can be matched therefrom, and then the echo signal can be compensated for the first level to obtain the echo signal after first level compensation, and then the digital gain compensation coefficient can be used for second level compensation.
[0151] The ultrasonic imaging method in this embodiment can put the analog gain compensation coefficient of each echo signal into the circular buffer according to the preset data storage rule. When the echo signal is compensated, each analog gain compensation coefficient can be taken out from the circular buffer, and each echo signal is simulated compensated. In this embodiment, since the gain compensation coefficient is stored in the circular buffer, the problem of system jamming caused by frequent addition and deletion of memory during the signal compensation process can be avoided, thereby effectively improving the operating efficiency of the system, thereby ensuring the imaging speed and imaging quality.
[0152] In another embodiment, another ultrasound imaging method is provided. The embodiment of the present application relates to a specific process of how to dynamically calculate the transmission aperture size each time an ultrasound wave is transmitted based on the total number of array elements and the array element directivity angle. Figure 7 As shown, the above S204 may include the following steps:
[0153] S702, dynamically calculating two transmission boundary lines each time the ultrasonic wave is transmitted according to the total number of array elements and the directivity angle of the array elements within a preset number of transmissions.
[0154] S704, calculating the intersections of the two transmission boundary lines and the curve or straight line where each array element of the ultrasound probe is located, and obtaining two intersections and the array elements where the two intersections are located.
[0155] S706, obtaining the number of array elements included between the array elements where the two intersection points are located, and determining the number of included array elements as the transmit aperture size.
[0156] In S702-S706, the ultrasonic probe is divided into a convex array probe and a linear array probe for description, and the implementation method of the convex array probe is first described.
[0157] See also Figure 7a As shown, point P is the center of the probe, with coordinates (0, -R), F i It is the virtual focus of the sound wave, E is PF i The extended line intersects the array element in the ultrasound probe array. At the same time, PE is the normal line of the array element E, and E0 and E 127 is the array element number on the boundary at both ends, F i E0 is the leftmost aperture boundary determined by the array element, F i E 127 is the rightmost aperture boundary determined by the array element, and θ is the maximum angle corresponding to the directivity of the array element. Assuming PF i is the main direction of sound wave propagation, expressed in PF i As the center line, the sound wave is F i As the starting point, F i E iIt is one of the emission directions, and the direction of the sound wave is within a certain range about PF i Linear symmetry. The size of the effective aperture needs to meet the following two conditions:
[0158] 1) The aperture size needs to be between E0 and E 127 Between, that is, less than or equal to the maximum number of array elements, it can also be understood that the effective aperture boundary is between F i E0 and F i E 127 between;
[0159] 2) According to the directivity of the array element, ∠F i E i P is between ±θ.
[0160] See above Figure 7a As shown, the geometric radius of the ultrasonic probe is R. According to the geometric radius R of the ultrasonic probe, the maximum angle of the array element directivity θ, and the focal position coordinate F i (x p ,z p ), then the following formula (4) can be obtained to determine whether there is an invalid array element:
[0161] q=x p 2 +(z p +R) 2 -R 2 sin 2 θ>0 (4)
[0162] Combination Figure 7a , q refers to the discriminant result of discriminant formula (4), which refers to whether the focus is within the circle with point P as the center and Rsinθ as the radius; the above formula (4) is the focus F i Outside the circle with point P as the center and Rsinθ as the radius, there are invalid array elements.
[0163] When q<0, the focus is within the circle, and all array elements meet the array element directivity requirements. The emission requirement here is to transmit as many array elements as possible while meeting the above conditions 1) and 2). Therefore, when q<0, all array elements can be activated for transmission, and when q>0, there are invalid array elements, so it is necessary to calculate the effective aperture, that is, the size of the transmission aperture.
[0164] The following is based on Figure 7a The calculation process of solving the effective aperture under the convex array probe:
[0165] 1. Solve PF i The deflection angle β0 with the Z axis,
[0166] 2. Solve the deflection angle Here if |PF i |=|PL|, that is, q=0, at this time the deflection angle Value And skip the subsequent calculation steps. The effective boundary is perpendicular to PF i The two rays can be directly emitted at full aperture, that is, all array elements are activated for emission;
[0167] 3. Determine the deflection angle Is it within the maximum range of the array element, that is, satisfying and
[0168] 4. Solve the slopes of the two emission boundary lines on the left and right, and the effective boundary line F on the left i The slope of M is k l , Right effective frontier line F i The slope of N is k r ,
[0169] 5. Combine the equations of the straight lines where the two emission boundary lines are located with the equation of the circle with point P as the center, and solve the intersection of the two emission boundary lines and the circle, which is the boundary array element of the effective aperture here. The equation group is as follows:
[0170]
[0171] In formula (5), zz p =k l (xx p ) is the equation of the left emission boundary line; zz p =k r (xx p ) is the equation of the right emission boundary line; x 2 +(z+R) 2 =R 2 is the equation of a circle with point P as the center, where z is the dependent variable and x is the independent variable.
[0172] By solving the above equation group (5), the two intersection points of the left and right emission boundary lines and the circle can be obtained. The lower boundary of the circle is the boundary where the array element is located. Then the intersection point here is the intersection point of the two emission boundary lines and the array. Then, the array element where the two intersection points are located can be obtained. Then, the number of array elements included between the two array elements can be obtained through the numbering of the two array elements. The number of array elements included is the emission aperture size when the ultrasonic wave is emitted.
[0173] The above is for a virtual focus position. When the virtual focus position changes, the deflection angle β0 and The coordinates of the virtual focus will change, so naturally the intersection point calculated later will also change, and thus the calculated emission aperture size will change, and the emission aperture size each time the ultrasonic wave is emitted can be calculated.
[0174] The following is an explanation of the linear array probe:
[0175] See also Figure 7b As shown, the effective aperture size (i.e., the transmit aperture size) of the linear array is obtained. The linear array can be regarded as a convex array with the geometric center at infinity, that is, R in the above formula (4) approaches infinity, so PF i The deflection angle β0 with the Z axis approaches 0. According to the solution of the effective aperture of the convex array in step 4, the final slope is and Deflection Angle It can be calculated by the following formula (6):
[0176]
[0177] Among them, when R approaches infinity, That is, the deflection angle at this time is the maximum angle θ corresponding to the directivity of the array element. Finally, the intersection position with the X axis (i.e. the straight line where the array element is located) is solved according to the slope of the effective boundary line and the focus position. If it exceeds E0 and E 127 If it is between E0 and E 127 Within the range between , the total number of array elements can be used as the current transmit aperture size.
[0178] The ultrasonic imaging method in this embodiment can dynamically calculate two emission boundary lines each time ultrasonic waves are emitted according to the total number of array elements and the array element directivity angle within a preset number of emission times, and simultaneously calculate the intersection points of the above two emission boundary lines with the curve or straight line where each array element is located, obtain two intersection points and the array elements where they are located, and use the number of array elements included between the two array elements as the emission aperture size. In this embodiment, since the emission aperture size can be calculated according to the array element directivity and the main lobe characteristics of the acoustic wave, the influence of the acoustic wave grating lobe can be improved, that is, the existing array element resources can be used to the maximum extent, so that the intensity of the emitted ultrasonic signal is most appropriate, and the corresponding echo signal is also more appropriate, and the image quality obtained is also higher.
[0179] It should be understood that although Figure 2 , 3 The steps in the flowcharts of , 4, and 7 are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2, 3 At least part of the steps in , 4, and 7 may include multiple steps or multiple stages. These steps or stages do not necessarily have to be executed at the same time, but can be executed at different times. The execution order of these steps or stages does not necessarily have to be sequential, but can be executed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0180] In one embodiment, Figure 8 As shown, an ultrasonic imaging device is provided, comprising: an acquisition module 10, an aperture determination module 11, a transceiver module 12 and a compensation imaging module 13, wherein:
[0181] An acquisition module 10 is used to acquire the total number of array elements and the directivity angles of the array elements of the ultrasound probe;
[0182] The aperture determination module 11 is used to dynamically determine the size of the transmission aperture when transmitting the ultrasonic wave each time according to the total number of array elements and the directivity angle of the array elements within a preset number of transmissions; the size of the transmission aperture when transmitting the ultrasonic wave each time is different;
[0183] The transceiver module 12 is used to transmit ultrasonic waves to the target based on the sizes of the transmission apertures, and receive echo signals after the ultrasonic waves transmitted each time are reflected on the target;
[0184] The imaging module 13 is used to perform beam synthesis on each of the above echo signals to obtain an ultrasonic image of the above target.
[0185] For the specific limitations on the ultrasonic imaging device, please refer to the limitations on the ultrasonic imaging method above, which will not be repeated here.
[0186] In another embodiment, another ultrasonic imaging device is provided. Based on the above embodiment, the imaging module 13 may include a compensation imaging unit, which is used to perform signal compensation on each of the above echo signals and perform beam synthesis on the compensated echo signals to obtain an ultrasonic image of the target.
[0187] In another embodiment, another ultrasonic imaging device is provided. Based on the above embodiment, the compensation imaging unit may include a compensation coefficient determination subunit and a compensation subunit, wherein:
[0188] A compensation coefficient determination subunit, used to determine the gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals;
[0189] The compensation subunit is used to compensate each of the above echo signals respectively by using the gain compensation coefficient corresponding to each of the above echo signals to obtain each compensated echo signal.
[0190] Optionally, each of the above echo signals is related to the depth of the target, and the above compensation coefficient determination subunit is specifically used to determine the analog gain compensation coefficient corresponding to each of the above echo signals according to the reception time of each of the above echo signals and the emission time of the ultrasonic wave corresponding to each of the above echo signals; and determine the digital gain compensation coefficient of each of the above echo signals according to each echo signal at the depth of the above target;
[0191] Optionally, the compensation subunit is specifically used to compensate each of the echo signals by using an analog gain compensation coefficient and a digital gain compensation coefficient corresponding to each of the echo signals to obtain each compensated echo signal.
[0192] Optionally, the above-mentioned compensation subunit is specifically used to perform primary compensation on each of the above-mentioned echo signals using the analog gain compensation coefficient corresponding to each of the above-mentioned echo signals to obtain each echo signal after the primary compensation; and to perform secondary compensation on each of the above-mentioned echo signals after the primary compensation using the above-mentioned digital gain compensation coefficient to obtain each echo signal after the secondary compensation.
[0193] Optionally, the above-mentioned compensation subunit is specifically used to perform analog-to-digital conversion processing on each echo signal after the above-mentioned first-level compensation to obtain a digital signal corresponding to each echo signal; and use the above-mentioned digital gain compensation coefficient to perform second-level compensation on the digital signal corresponding to each echo signal to obtain each echo signal after the second-level compensation.
[0194] In another embodiment, another ultrasonic imaging device is provided. Based on the above embodiment, the compensation coefficient determination subunit is specifically used to calculate the time difference between the reception time of the above echo signal and the emission time of the corresponding ultrasonic wave, and match the above time difference with a preset time difference threshold range to obtain a matching result; determine the analog gain compensation coefficient corresponding to each of the above echo signals according to the above matching result.
[0195] Optionally, the above-mentioned preset time difference threshold range includes at least one time difference threshold range, each of which corresponds to an analog gain compensation coefficient; the above-mentioned compensation coefficient determination subunit is specifically used to, when the above-mentioned time difference and one of the above-mentioned at least one time difference threshold ranges match successfully, determine the analog gain compensation coefficient corresponding to the successfully matched time difference threshold range as the analog gain compensation coefficient of the above-mentioned echo signal; when the above-mentioned time difference and all the time difference threshold ranges in the above-mentioned at least one time difference threshold range fail to match, obtain the maximum analog gain compensation coefficient of the analog device, and determine the above-mentioned maximum analog gain compensation coefficient as the analog gain compensation coefficient of the above-mentioned echo signal.
[0196] Optionally, the compensation coefficient determination subunit is specifically used to determine that the analog gain compensation coefficient corresponding to the echo signal is a positive gain compensation coefficient when the time difference of the echo signal is greater than the time difference threshold; to determine that the analog gain compensation coefficient corresponding to the echo signal is a negative gain compensation coefficient when the time difference of the echo signal is less than the time difference threshold; and to determine that the analog gain compensation coefficient corresponding to the echo signal is 1 when the time difference of the echo signal is equal to the time difference threshold.
[0197] In another embodiment, another ultrasonic imaging device is provided. On the basis of the above embodiment, before the compensation subunit uses the analog gain compensation coefficient corresponding to each of the above echo signals to perform primary compensation on each of the above echo signals to obtain each echo signal after primary compensation, the above device may also include a coefficient placing module, the coefficient placing module is used to place the analog gain compensation coefficient corresponding to each of the above echo signals into a circular buffer according to a preset data storage rule; the data storage rule is a rule of storing the transmitted ultrasonic wave corresponding to the above echo signal, the analog gain compensation coefficient corresponding to the above echo signal, and the echo signal in the order of the storage;
[0198] Correspondingly, the compensation subunit is specifically used to obtain the analog gain compensation coefficient corresponding to each of the echo signals from the ring buffer, and use the analog gain compensation coefficient and the digital gain compensation coefficient to compensate each of the echo signals in turn to obtain compensated echo signals.
[0199] Optionally, the compensation subunit is specifically used to obtain the analog gain compensation coefficient corresponding to each of the echo signals from the ring buffer, and use each of the analog gain compensation coefficients to perform primary compensation on each of the echo signals in turn to obtain each echo signal after primary compensation.
[0200] In another embodiment, another ultrasonic imaging device is provided. Based on the above embodiment, the aperture determination module 11 may include a boundary calculation unit, an intersection calculation unit and an aperture determination unit, wherein:
[0201] A boundary calculation unit, used to dynamically calculate two transmission boundary lines when transmitting the ultrasonic wave each time according to the total number of array elements and the directivity angle of the array elements within a preset number of transmissions;
[0202] An intersection calculation unit, used to calculate the intersection of the two emission boundary lines and the curve or straight line where each array element of the ultrasonic probe is located, to obtain two intersection points and the array elements where the two intersection points are located;
[0203] The aperture determination unit is used to obtain the number of array elements included between the array elements where the two intersection points are located, and determine the number of included array elements as the transmit aperture size.
[0204] For the specific limitations on the ultrasonic imaging device, please refer to the limitations on the ultrasonic imaging method above, which will not be repeated here.
[0205] Each module in the above-mentioned ultrasonic imaging device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0206] In one embodiment, an ultrasound imaging system is provided, comprising an ultrasound probe, a circuit processing module, a beam former, and an image former.
[0207] The circuit processing module is used to obtain the total number of array elements and the directivity angle of the array elements of the ultrasonic probe; within a preset number of transmissions, dynamically determine the transmission aperture size when transmitting each ultrasonic wave according to the total number of array elements and the directivity angle of the array elements; control the ultrasonic probe to transmit the ultrasonic wave to the target based on the sizes of the transmission apertures, and control the ultrasonic probe to receive each echo signal after the ultrasonic wave transmitted each time is reflected on the target;
[0208] The beam former and the image former are used to perform beam synthesis on each of the echo signals to obtain an ultrasonic image of the target.
[0209] In one embodiment, the circuit processing module is specifically used to perform signal compensation on each of the echo signals; the beam former and the image former are specifically used to perform beam synthesis on each compensated echo signal to obtain the ultrasonic image of the target.
[0210] In one embodiment, the circuit processing module is specifically used to determine the gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals; and to compensate each of the echo signals respectively using the gain compensation coefficient corresponding to each of the echo signals to obtain each compensated echo signal.
[0211] In one embodiment, the circuit processing module is specifically used to determine the analog gain compensation coefficient corresponding to each of the echo signals according to the reception time of each of the echo signals and the emission time of the ultrasonic wave corresponding to each of the echo signals; determine the digital gain compensation coefficient of each of the echo signals according to the echo signals at the depth of the target; perform primary compensation on each of the echo signals using the analog gain compensation coefficient corresponding to each of the echo signals to obtain each echo signal after primary compensation; perform secondary compensation on each of the echo signals after primary compensation using the digital gain compensation coefficient to obtain each echo signal after secondary compensation.
[0212] In one embodiment, the circuit processing module is specifically used to compensate each of the echo signals by using the analog gain compensation coefficient and the digital gain compensation coefficient corresponding to each of the echo signals to obtain each compensated echo signal.
[0213] In one embodiment, the above-mentioned circuit processing module is specifically used to perform analog-to-digital conversion processing on each echo signal after the above-mentioned first-level compensation to obtain a digital signal corresponding to each echo signal; and use the above-mentioned digital gain compensation coefficient to perform second-level compensation on the digital signal corresponding to each echo signal to obtain each echo signal after the second-level compensation.
[0214] In one embodiment, the circuit processing module is specifically used to calculate the time difference between the reception time of the echo signal and the corresponding transmission time of the ultrasonic wave, and match the time difference with a preset time difference threshold range to obtain a matching result; and determine the analog gain compensation coefficient corresponding to each of the echo signals according to the matching result.
[0215] In one embodiment, the above-mentioned circuit processing module is specifically used to determine the analog gain compensation coefficient corresponding to the successfully matched time difference threshold range as the analog gain compensation coefficient of the above-mentioned echo signal if the above-mentioned time difference and one of the above-mentioned at least one time difference threshold ranges match successfully; if the above-mentioned time difference and all the time difference threshold ranges in the above-mentioned at least one time difference threshold range fail to match, then obtain the maximum analog gain compensation coefficient of the analog device, and determine the above-mentioned maximum analog gain compensation coefficient as the analog gain compensation coefficient of the above-mentioned echo signal.
[0216] In one embodiment, the above-mentioned circuit processing module is specifically used to determine that the analog gain compensation coefficient corresponding to the above-mentioned echo signal is a positive gain compensation coefficient if the time difference of the above-mentioned echo signal is greater than the above-mentioned time difference threshold; if the time difference of the above-mentioned echo signal is less than the above-mentioned time difference threshold, then the analog gain compensation coefficient corresponding to the above-mentioned echo signal is determined to be a negative gain compensation coefficient; if the time difference of the above-mentioned echo signal is equal to the above-mentioned time difference threshold, then the analog gain compensation coefficient corresponding to the above-mentioned echo signal is determined to be 1.
[0217] In one embodiment, the circuit processing module is specifically used to place the analog gain compensation coefficient corresponding to each of the echo signals into a circular buffer according to a preset data storage rule; the data storage rule is a rule for storing the data in the order of the emitted ultrasonic wave corresponding to the echo signal, the analog gain compensation coefficient corresponding to the echo signal, and the echo signal; the analog gain compensation coefficient corresponding to each of the echo signals is obtained from the circular buffer, and each of the echo signals is compensated in turn using the analog gain compensation coefficient and the digital gain compensation coefficient to obtain each compensated echo signal.
[0218] In one embodiment, the circuit processing module is specifically used to obtain the analog gain compensation coefficient corresponding to each of the echo signals from the ring buffer, and use the analog gain compensation coefficient to perform primary compensation on each of the echo signals in turn to obtain each echo signal after primary compensation.
[0219] In one embodiment, the circuit processing module is specifically used to dynamically calculate two transmission boundary lines for each ultrasonic transmission according to the total number of array elements and the directivity angle of the array elements within a preset number of transmissions; calculate the intersection points of the two transmission boundary lines with the curve or straight line where the array elements of the ultrasonic probe are located, and obtain two intersection points and the array elements where the two intersection points are located; obtain the number of array elements included between the array elements where the two intersection points are located, and determine the number of included array elements as the transmission aperture size.
[0220] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0221] The total number of array elements and the array element directivity angles of the ultrasonic probe are obtained; within a preset number of transmissions, the transmission aperture size for each ultrasonic transmission is dynamically determined according to the total number of array elements and the array element directivity angles; the transmission aperture size for each ultrasonic transmission is different; ultrasonic waves are transmitted to the target based on the transmission aperture sizes, and echo signals after each ultrasonic wave is reflected on the target are received; beamforming is performed on the echo signals to obtain an ultrasonic image of the target.
[0222] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0223] Signal compensation is performed on each of the above echo signals, and beam synthesis is performed on each of the compensated echo signals to obtain an ultrasonic image of the above target.
[0224] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0225] The gain compensation coefficient corresponding to each of the echo signals is determined according to the receiving time of each of the echo signals and the transmitting time of the ultrasonic wave corresponding to each of the echo signals; and each of the echo signals is compensated respectively using the gain compensation coefficient corresponding to each of the echo signals to obtain each compensated echo signal.
[0226] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0227] According to the receiving time of each of the above echo signals and the transmitting time of the ultrasonic wave corresponding to each of the above echo signals, the analog gain compensation coefficient corresponding to each of the above echo signals is determined; according to each echo signal at the depth of the above target, the digital gain compensation coefficient of each of the above echo signals is determined; each of the above echo signals is compensated using the analog gain compensation coefficient and the digital gain compensation coefficient corresponding to each of the above echo signals to obtain each compensated echo signal.
[0228] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0229] The analog gain compensation coefficients corresponding to the echo signals are used to perform primary compensation on the echo signals to obtain the echo signals after primary compensation; the digital gain compensation coefficients are used to perform secondary compensation on the echo signals after primary compensation to obtain the echo signals after secondary compensation.
[0230] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0231] Perform analog-to-digital conversion processing on each echo signal after the above-mentioned first-level compensation to obtain a digital signal corresponding to each echo signal; use the above-mentioned digital gain compensation coefficient to perform second-level compensation on the digital signal corresponding to each echo signal to obtain each echo signal after the second-level compensation.
[0232] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0233] Calculate the time difference between the reception time of the above echo signal and the corresponding transmission time of the ultrasonic wave, and match the above time difference with a preset time difference threshold range to obtain a matching result; determine the analog gain compensation coefficient corresponding to each of the above echo signals according to the above matching result.
[0234] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0235] If the above-mentioned time difference and one of the time difference threshold ranges in the above-mentioned at least one time difference threshold range match successfully, the analog gain compensation coefficient corresponding to the successfully matched time difference threshold range is determined as the analog gain compensation coefficient of the above-mentioned echo signal; if the above-mentioned time difference and all the time difference threshold ranges in the above-mentioned at least one time difference threshold range fail to match, the maximum analog gain compensation coefficient of the analog device is obtained, and the above-mentioned maximum analog gain compensation coefficient is determined as the analog gain compensation coefficient of the above-mentioned echo signal.
[0236] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0237] If the time difference of the above echo signals is greater than the above time difference threshold, the analog gain compensation coefficient corresponding to the above echo signal is determined to be a positive gain compensation coefficient; if the time difference of the above echo signals is less than the above time difference threshold, the analog gain compensation coefficient corresponding to the above echo signal is determined to be a negative gain compensation coefficient; if the time difference of the above echo signals is equal to the above time difference threshold, the analog gain compensation coefficient corresponding to the above echo signal is determined to be 1.
[0238] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0239] According to the preset data storage rule, the analog gain compensation coefficient corresponding to each of the above echo signals is placed in the circular buffer; the above data storage rule is a rule for storing the data in the order of the emitted ultrasonic wave corresponding to the above echo signal, the analog gain compensation coefficient corresponding to the above echo signal and the above echo signal; the analog gain compensation coefficient corresponding to each of the above echo signals is obtained from the above circular buffer, and each of the above echo signals is compensated in turn using the above analog gain compensation coefficient and the above digital gain compensation coefficient to obtain each compensated echo signal.
[0240] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0241] The analog gain compensation coefficient corresponding to each of the echo signals is obtained from the ring buffer, and each of the echo signals is sequentially compensated for the first level using the analog gain compensation coefficient to obtain each echo signal after the first level compensation.
[0242] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0243] Within the preset number of transmissions, two transmission boundary lines are dynamically calculated each time the ultrasonic wave is transmitted according to the total number of array elements and the directivity angle of the array elements; the intersection points of the two transmission boundary lines and the curve or straight line where the array elements of the ultrasonic probe are located are calculated to obtain two intersection points and the array elements where the two intersection points are located; the number of array elements contained between the array elements where the two intersection points are located is obtained, and the number of the contained array elements is determined as the transmission aperture size.
[0244] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0245] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0246] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. An ultrasonic imaging method, characterized in that: The method comprises: Obtain the total number of array elements and array element directivity angles of the ultrasonic probe; Within a preset number of transmissions, dynamically calculating two transmission boundary lines each time the ultrasonic wave is transmitted according to the total number of array elements and the directivity angle of the array elements; Calculate the intersection points of the two transmission boundary lines and the curve or straight line where each array element of the ultrasound probe is located, and obtain two intersection points and the array elements where the two intersection points are located; Acquire the number of array elements included between the array elements where the two intersection points are located, and determine the number of included array elements as the transmit aperture size; Transmitting ultrasonic waves to a target based on the sizes of the transmitting apertures, and receiving echo signals after each transmitted ultrasonic wave is reflected on the target; Beam synthesis is performed on each of the echo signals to obtain an ultrasonic image of the target.
2. The method according to claim 1, characterized in that The method of dynamically calculating two emission boundary lines each time the ultrasonic wave is emitted according to the total number of array elements and the array element directivity angle within the preset number of emission times includes: Within a preset number of transmissions, according to the position of the virtual focus of each ultrasonic wave transmission and the position of the center of the circle of the ultrasonic probe, the slopes of the two transmission boundary lines when the ultrasonic wave is transmitted each time are determined; The two emission boundary lines for each ultrasonic emission are determined according to the slopes of the two emission boundary lines.
3. The method according to claim 2, characterized in that The step of determining the slopes of two emission boundary lines each time the ultrasonic wave is emitted according to the position of the virtual focus of each ultrasonic wave emission and the position of the center of the circle of the ultrasonic probe comprises: Determine a first deflection angle and a second deflection angle according to the position of the virtual focus of each ultrasonic emission and the position of the center of the circle of the ultrasonic probe; the first deflection angle represents the deflection angle between the line connecting the center of the circle and the virtual focus and the Z axis; the second deflection angle represents the angle formed by the line connecting the center of the circle and the virtual focus, the line connecting the virtual focus and the array element with the maximum angle of the array element directivity; The slopes of the two emission boundary lines when the ultrasonic wave is emitted each time are determined according to the first deflection angle and the second deflection angle.
4. The method according to claim 3, characterized in that The ultrasonic probe includes a convex array probe, and determining the slopes of two emission boundary lines when the ultrasonic wave is emitted each time according to the first deflection angle and the second deflection angle includes: Based on the angular difference between the first deflection angle and the second deflection angle, the slope of the first transmission boundary line is determined each time the ultrasonic wave is transmitted; and based on the sum of the angles of the first deflection angle and the second deflection angle, the slope of the second transmission boundary line is determined each time the ultrasonic wave is transmitted.
5. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: For any transmission process, judging whether there is an invalid array element according to the maximum angle of the array element directivity and the position of the virtual focus; If it exists, the step of determining the slopes of the two emission boundary lines each time the ultrasound is emitted is performed according to the position of the virtual focus of each ultrasound emission and the position of the center of the circle of the ultrasound probe; if it does not exist, all array elements are used as the effective aperture size of the emission process.
6. The method according to claim 3, characterized in that The ultrasonic probe comprises a linear array probe, the first deflection angle approaches zero, and the second deflection angle is the maximum angle of the array element directivity.
7. The method according to any one of claims 1 to 4, characterized in that: The step of performing beam synthesis on each of the echo signals to obtain an ultrasonic image of the target includes: The analog gain compensation coefficient corresponding to each echo signal is obtained from the circular buffer, and each echo signal is compensated in turn by using each analog gain compensation coefficient and the digital gain compensation coefficient to obtain each compensated echo signal; the circular buffer is used to store array element control instructions; the storage rules of each group of signals include: transmission instructions, idle, receiving instructions and gain instructions in turn; Ultrasonic imaging is performed on the target according to the compensated echo signals to obtain an ultrasonic image of the target.
8. An ultrasonic imaging device, characterized in that: The device comprises: An acquisition module is used to acquire the total number of array elements and the directivity angles of the array elements of the ultrasonic probe; The aperture determination module is used to dynamically calculate two emission boundary lines when each ultrasonic wave is emitted according to the total number of array elements and the array element directivity angle within a preset number of emission times; calculate the intersection points of the two emission boundary lines with the curve or straight line where each array element of the ultrasonic probe is located, and obtain two intersection points and the array elements where the two intersection points are located; obtain the number of array elements included between the array elements where the two intersection points are located, and determine the number of included array elements as the emission aperture size; A transceiver module, used for transmitting ultrasonic waves to a target based on the sizes of the transmitting apertures, and receiving echo signals after each transmitted ultrasonic wave is reflected on the target; The imaging module is used to perform beam synthesis on each of the echo signals to obtain an ultrasonic image of the target.
9. An ultrasonic imaging system, comprising an ultrasonic probe, a circuit processing module, a beam former and an image former, characterized in that: The circuit processing module is used to obtain the total number of array elements and the array element directivity angles of the ultrasonic probe; dynamically calculate two transmission boundary lines when transmitting ultrasonic waves each time according to the total number of array elements and the array element directivity angles within a preset number of transmissions; calculate the intersection points of the two transmission boundary lines with the curve or straight line where each array element of the ultrasonic probe is located, and obtain two intersection points and the array elements where the two intersection points are located; obtain the number of array elements included between the array elements where the two intersection points are located, and determine the number of included array elements as the transmission aperture size; transmit ultrasonic waves to the target based on each of the transmission aperture sizes, and receive each echo signal after the ultrasonic wave transmitted each time is reflected on the target; The beam former and the image former are used to perform beam synthesis on each of the echo signals to obtain an ultrasonic image of the target.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
