Image playback and storage method, system, device and medium for an ultrasound system
By developing a protocol for binding data and front-end parameters for the ultrasound system's software and field-programmable gate array, the problem of data and parameter mismatch after parameter adjustment in the ultrasound system was solved, the coexistence of image data and multiple sets of front-end parameters was achieved, and inspection efficiency was improved.
Patent Information
- Application Number
- CN202411433876.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2044-10-14
AI Technical Summary
Existing ultrasound systems require clearing the playback area after adjusting front-end parameters, resulting in a mismatch between data and parameters, affecting inspection efficiency. This is especially true for prenatal and neonatal examinations, where it is difficult to obtain sufficient image data within a limited time.
By developing a data and front-end parameter binding protocol for the ultrasound system's software and field-programmable gate array, image data and multiple sets of front-end parameters can coexist. Parameter distribution mechanism and mapping table are used to achieve matching storage of image data and front-end parameters, avoiding clearing the playback area before and after parameter adjustment.
It enables one-time acquisition of sufficient data in scenarios such as prenatal and neonatal examinations, greatly improving examination efficiency and avoiding the problem of clearing the playback area due to mismatch between parameters and data.
Smart Images

Figure CN119560109B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ultrasonic imaging technology, and in particular to an image playback and storage method, system, device and medium of an ultrasonic system. Background Art
[0002] When adjusting front-end parameters of an ultrasound system, such as detection depth, line density, velocity scale, and sampling line, there are incompatibilities in the data and parameters before and after the adjustment. Therefore, most ultrasound systems require clearing the playback area after adjusting the front-end parameters. In some special clinical scenarios, such as prenatal examinations and neonatal examinations, doctors cannot ensure the limb movements of the subjects, and each examination requires a certain amount of data support. When using a set of front-end parameters, the image data needs to be cleared after adjusting the front-end parameters. In the existing ultrasound system mode, after moving the sampling line and sampling gate, the spectrum needs to be refreshed. If the doctor wants to obtain the previous image data, he must first freeze it and then store the required data. The stored files are fragmented, making it difficult for the doctor to obtain enough data within a limited time, and the examination efficiency is very low.
[0003] In the related art, there is a mismatch between data and parameters in the existing ultrasound system before and after parameter adjustment. The mismatch between data and parameters will lead to incorrect imaging. Therefore, the existing ultrasound system needs to clear the playback area after adjusting the parameters to achieve normal imaging, resulting in low efficiency of detection by the existing ultrasound system. Summary of the Invention
[0004] In view of this, the present invention provides an image playback and storage method, system, device and medium for an ultrasound system to solve the problem of incompatibility between data and parameters in existing ultrasound systems, which requires clearing the playback area before and after adjusting parameters.
[0005] In a first aspect, the present invention provides an image playback and storage method for an ultrasound system, which is applied to software of the ultrasound system, and the method comprises:
[0006] Determine front-end parameters used in ultrasound system front-end imaging calculations;
[0007] Perform parameter calculation on the front-end parameters, obtain the front-end parameter calculation results and determine the front-end parameter version corresponding to the front-end parameters;
[0008] Sending the front-end parameter calculation results and the front-end parameter version to the field programmable gate array, so that the field programmable gate array controls and calculates the image data corresponding to the front-end parameter calculation results based on the front-end parameter calculation results, and uses the front-end parameter version as the data version corresponding to the image data, and uploads it to the software together with the image data;
[0009] Receiving image data, parsing the image data to obtain the image data and a data version corresponding to the image data;
[0010] Through a parameter distribution mechanism, the data version is used to determine a version parameter corresponding to the data version, and the image data is preprocessed;
[0011] The preprocessed image data and the front-end parameter corresponding to the image data are stored in a playback area of the ultrasound system to realize image playback and storage of the ultrasound system.
[0012] In the present application, by determining the front-end parameter used by the front-end imaging calculation of the ultrasound system, the front-end parameter version corresponding to the front-end parameter is generated by using the software of the ultrasound system, and the front-end parameter version is transmitted into the FPGA of the ultrasound system as an identifier, so that the image data generated by the FPGA and the front-end parameter version can be matched one by one, and the image data and the front-end parameter are bound in a way, realizing the coexistence of image data and multiple front-end parameters. The image data and the corresponding front-end parameter are stored in the playback area of the ultrasound system, so that when the front-end parameter changes, the corresponding front-end parameter can be obtained from the playback area according to the binding relationship between the front-end parameter and the image data, avoiding the emptying of the playback area caused by the mismatch between the parameters and the data before and after the adjustment of the parameters. The image playback and storage method of the ultrasound system is used in the clinical application scene of antenatal examination and neonatal examination, and enough data can be obtained at one time, greatly improving the examination efficiency.
[0013] In an optional embodiment, the method further comprises:
[0014] After the front-end parameter is adjusted, the front-end parameter version is incremented after the front-end parameter calculation, and the data structure of the updated front-end parameter and the front-end parameter corresponding to the front-end parameter version is obtained, and returned to the step of issuing the front-end parameter calculation result and the front-end parameter version to the field programmable gate array.
[0015] In this way, after the front-end parameter is adjusted, the front-end parameter version is incremented and issued to the FPGA before the front-end parameter is issued to the FPGA this time, so that after the front-end parameter version is issued to the FPGA, the FPGA generates image data using the front-end parameter issued this time, realizes one-to-one binding of image data and parameters of different versions, and further realizes playback and storage of image data of different versions, so that multiple sets of image data of front-end parameters can be stored on the same video, avoiding emptying the playback area data due to the coexistence of different versions of data.
[0016] In an optional embodiment, the parameter distribution mechanism comprises: dividing the front-end parameter into a first front-end parameter being written, a second front-end parameter being stored and a third front-end parameter being read based on a processing state;
[0017] The first front-end parameter is used for parameter linkage operation, and after the parameter linkage ends, the parameter is updated through the parameter distribution mechanism, the second front-end parameter is updated and written into the second front-end parameter by using the first front-end parameter.
[0018] In this way, through the parameter distribution mechanism, the parameters in different time periods are distributed based on the time period of the front-end parameter, so as to facilitate the determination of the corresponding front-end parameter of the image data by using the parameter distribution mechanism, and then realize the image playback and storage of the ultrasonic system.
[0019] In an optional embodiment, the version parameter corresponding to the data version is determined, comprising:
[0020] The second front-end parameter is version mapped based on the data version to obtain the second front-end parameter corresponding to the data version;
[0021] The second front-end parameter corresponding to the data version is stored into the third front-end parameter to obtain the third front-end parameter corresponding to the data version.
[0022] In this way, the second front-end parameter is version mapped based on the data version to obtain the second front-end parameter corresponding to the data version, and the second front-end parameter corresponding to the data version is stored into the third front-end parameter being read to obtain the front-end parameter corresponding to the data version.
[0023] In an optional embodiment, the pre-processed image data and the front-end parameter corresponding to the data version are stored into the playback area of the ultrasonic system, comprising:
[0024] The pre-processed image data and the front-end parameter corresponding to the data version are associated by using the mapping table to obtain the associated image data and the front-end parameter, and the associated image data and the front-end parameter associated with the image data are stored into the playback area of the ultrasonic system.
[0025] In this way, the image data and the front-end parameter are associated one by one by using the mapping table and are stored into the playback area of the ultrasonic system as the parameter and data source for subsequent frozen playback and image storage. Since the frozen playback refers to the data in the playback area, the data to be played back this time and the front-end parameter corresponding to the data are determined, so that the image data and the front-end parameter associated one by one are subjected to image post-processing, and the data playback area does not need to be emptied, and the frozen playback can be realized.
[0026] In a second aspect, the application provides an image playback and storage method of an ultrasonic system, applied to a field programmable gate array of the ultrasonic system, comprising:
[0027] The front-end parameter calculation result and the front-end parameter version are received by the software, the front-end parameter calculation result is a front-end parameter determined by the software for front-end imaging calculation of the ultrasonic system, the front-end parameter is calculated to obtain the front-end parameter calculation result, and the front-end parameter version is a front-end parameter version corresponding to the front-end parameter determined by the software for front-end parameter calculation;
[0028] Based on the front-end parameter calculation result, the image data corresponding to the front-end parameter is controlled and calculated;
[0029] The front-end parameter version is used as a data version corresponding to the image data, and the image data is uploaded to the software in combination to enable the software to receive the image data, analyze the image data, obtain the image data and the data version corresponding to the image data, determine the front-end parameter corresponding to the data version through a parameter distribution mechanism, and pre-process the image data; and the pre-processed image data and the front-end parameter corresponding to the data version are stored in a playback area of the ultrasonic system to realize image playback and storage of the ultrasonic system.
[0030] In the present application, the front-end parameter version is used as an identifier and is transmitted into the FPGA together with the front-end parameter, the FPGA generates corresponding image data according to the front-end parameter to realize one-to-one matching between the image data generated by the FPGA and the front-end parameter version, the image data and the front-end parameter version are transmitted back to the software to enable the software to realize coexistence of the image data and multiple sets of front-end parameters through the binding of the image data and the front-end parameter, and the image data and the corresponding front-end parameter are stored in the playback area of the ultrasonic system by the software, so that when the front-end parameter changes, the corresponding front-end parameter can be obtained from the playback area according to the binding relationship between the front-end parameter and the image data, and the emptying of the playback area before and after parameter adjustment caused by mismatching between the parameter and the data is avoided.
[0031] In a third aspect, the present application provides an image playback and storage system of an ultrasonic system, which comprises: software of the ultrasonic system and a field programmable gate array;
[0032] The software determines a front-end parameter used for front-end imaging calculation of the ultrasonic system, performs parameter calculation on the front-end parameter to obtain a front-end parameter calculation result and determine a front-end parameter version corresponding to the front-end parameter, and transmits the front-end parameter calculation result and the front-end parameter version to the field programmable gate array;
[0033] The field programmable gate array receives the front-end parameter calculation result and the front-end parameter version transmitted by the software, controls and calculates image data corresponding to the front-end parameter based on the front-end parameter calculation result, and uploads the front-end parameter version to the software in combination with the image data as a data version corresponding to the image data;
[0034] The software receives image data, parses the image data to obtain the image data and a data version corresponding to the image data, determines a version parameter corresponding to the data version by using the data version through a parameter distribution mechanism, pre-processes the image data by using the version parameter, and stores the pre-processed image data and a front-end parameter corresponding to the image data in a playback area of the ultrasonic system, so as to realize image playback and storage of the ultrasonic system.
[0035] In the application, since each piece of data needs to be supported by a corresponding front-end parameter to process the image data, a protocol of binding of data and front-end parameters is formulated for the software and the FPGA in the image playback and storage system of the ultrasonic system, the mutual corresponding relationship between the front-end parameters and the data is bound, the image data generated by the FPGA and the front-end parameter version can be matched one by one, the image data and the front-end parameter binding mode is adopted, the image data and multiple sets of front-end parameters coexist are realized, the image data and the corresponding front-end parameter are stored in the playback area of the ultrasonic system by the software, so that when the front-end parameter changes, the corresponding front-end parameter can be obtained from the playback area according to the binding relationship between the front-end parameter and the image data, and the emptying of the playback area before and after the parameter adjustment caused by the mismatch between the parameter and the data is avoided. The image playback and storage method of the ultrasonic system is used in the clinical application scene such as the production inspection and the neonatal examination, sufficient data can be obtained at one time, and the examination efficiency is greatly improved.
[0036] In a fourth aspect, the application provides an electronic device, comprising a memory and a processor, the memory and the processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to execute the image playback and storage method of the ultrasonic system of the first aspect or any of the corresponding embodiments thereof or the image playback and storage method of the ultrasonic system of the second aspect.
[0037] In a fifth aspect, the application provides a computer readable storage medium, the computer readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the image playback and storage method of the ultrasonic system of the first aspect or any of the corresponding embodiments thereof or the image playback and storage method of the ultrasonic system of the second aspect.
[0038] In a sixth aspect, the application provides a computer program product, comprising computer instructions, and the computer instructions are used to make the computer execute the image playback and storage method of the ultrasonic system of the first aspect or any of the corresponding embodiments thereof or the image playback and storage method of the ultrasonic system of the second aspect. BRIEF DESCRIPTION OF DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the specific embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or prior art description. Obviously, the drawings described below are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0040] Figure 1 Fig. 1 is a structural schematic diagram of an image playback and storage system of an ultrasound system according to an embodiment of the present application.
[0041] Figure 2 Fig. 2 is an interaction schematic diagram of an image playback and storage system of an ultrasound system according to an embodiment of the present application.
[0042] Figure 3 Fig. 3 is a flow schematic diagram of an image playback and storage method of an ultrasound system according to an embodiment of the present application.
[0043] Figure 4 Fig. 4 is a hardware structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.
[0045] In the related art, in some special clinical scenarios, such as prenatal examination and neonatal detection, doctors cannot ensure the limb movement of the examination object in these scenarios, and each detection needs a certain amount of data support. When using a set of front-end parameters, the image data needs to be emptied after adjusting the front-end parameters. In the mode of the existing ultrasound system, the frequency spectrum needs to be refreshed after moving the sampling line and the sampling gate. Doctors want to obtain the previous image data must first freeze, then store the required data. The stored file is fragmented, so the ultrasound system needs to empty the playback area after adjusting the front-end parameters. Doctors are difficult to obtain sufficient data in a limited time, and the examination efficiency is very low.
[0046] To solve the above problems, the embodiment of the present application provides an image playback and storage method of an ultrasonic system, which is used in an image playback and storage system of the ultrasonic system. In the following method embodiment, the execution subject is taken as an example of the image playback and storage system of the ultrasonic system. The image playback and storage system of the ultrasonic system in the embodiment is suitable for the use scenario that the mismatch and incompatibility of the ultrasonic system parameters and data cause the need to empty the data after adjusting the front-end parameters in the scene of ultrasonic imaging. The image playback and storage system of the ultrasonic system is provided by the present application. Since each data needs to have corresponding front-end parameters as support to process the image data, a set of data and front-end parameter binding protocols is formulated for the software and FPGA in the image playback and storage system of the ultrasonic system, the mutual corresponding relationship between the front-end parameters and the data is bound, the image data and the front-end parameter version generated by the FPGA can be matched one by one, the image data and multiple sets of front-end parameters coexist in the way of binding the image data and the front-end parameters. The image data and the corresponding front-end parameters are stored in the playback area of the ultrasonic system by the software, so that when the front-end parameters change, the corresponding front-end parameters can be obtained from the playback area according to the binding relationship between the front-end parameters and the image data, and the emptying of the playback area before and after the parameter adjustment caused by the mismatch between the parameters and the data is avoided. The image playback and storage method of the ultrasonic system is used in the scene of clinical application such as antenatal examination and neonatal examination, and enough data can be obtained at one time, which greatly improves the examination efficiency.
[0047] According to the embodiment of the present application, an image playback and storage method of an ultrasonic system is provided. It should be noted that the steps shown in the flowchart can be executed in the image playback and storage system of the ultrasonic system, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in different order.
[0048] Figure 1 FIG. 1 is a structural schematic diagram of an image playback and storage system of an ultrasonic system according to the embodiment of the present application. As shown in FIG. 1, the image playback and storage system of the ultrasonic system comprises software 1 of the ultrasonic system and a field programmable gate array 2. Figure 1 FIG. 2 is an interaction schematic diagram of the image playback and storage system of the ultrasonic system according to the embodiment of the present application. In the embodiment, an image playback and storage method of an ultrasonic system is provided, which can be used in the above-mentioned image playback and storage system of the ultrasonic system. As shown in FIG. 2, the software is used to execute steps S101 to S106, and the field programmable gate array is used to execute steps S201 to S203. Figure 2 Figure 2
[0049] Step S101, determine the front-end parameters used by the front-end imaging calculation of the ultrasonic system.
[0050] Step S102, parameter calculation is performed on the front-end parameter to obtain a front-end parameter calculation result and determine a front-end parameter version corresponding to the front-end parameter.
[0051] In an example, the front-end parameter calculation result can be generated by performing linkage calculation on the front-end parameter, and the front-end parameter version can be generated by version self-increment.
[0052] Step S103, the front-end parameter calculation result and the front-end parameter version are issued to the field programmable gate array.
[0053] Step S201, the front-end parameter calculation result and the front-end parameter version issued by the software are received.
[0054] Step S202, based on the front-end parameter calculation result, image data corresponding to the front-end parameter is controlled and calculated.
[0055] Step S203, the front-end parameter version is taken as a data version corresponding to the image data, and the image data is uploaded to the software.
[0056] Step S104, the image data is received, and the image data is parsed to obtain the image data and a data version corresponding to the image data.
[0057] Step S105, by using the data version, a version parameter corresponding to the data version is determined by a parameter distribution mechanism, and the image data is preprocessed.
[0058] Step S106, the preprocessed image data and the front-end parameter corresponding to the image data are stored in a playback area of the ultrasonic system to realize image playback and storage of the ultrasonic system.
[0059] In an example, since each data needs to have a corresponding parameter to support the ultrasonic system to process the image data, a set of data and parameter binding protocol needs to be formulated, which can bind the mutual corresponding relationship between the parameters and the data. By using the data and front-end parameter binding mode, the data and the parameter can be matched one by one. The front-end parameter is a parameter used for front-end imaging calculation of the ultrasonic system, and different system schemes and processing procedures will be different in the definition of the front-end parameter. Taking B mode as an example, the front-end parameter includes depth, frequency, point number, line number, spatial composite gear position, angle, focus number, beam number, etc., which all belong to the front-end parameter. The front-end parameter is not limited in the present application.
[0060] Specifically, the mutual correspondence between the construction parameters and the data includes: interaction between the software and the FPGA. Wherein, the FPGA is responsible for some bottom control in the ultrasonic system and the emission and reception of the probe, high-voltage switch control, image data generation and some simple and complex calculation, data uploading, etc. According to the system scheme, the FPGA is not limited in the application. After the software calculates the parameters, a series of front-end parameters will be calculated, and these front-end parameters will be issued to the FPGA. The FPGA will generate image data according to the front-end parameters issued by the software, and finally upload the image data to the software. As a bridge between the front-end parameters and the data, when the software completes the parameter calculation, the front-end parameter version corresponding to the front-end parameters is issued to the FPGA as a marker for this group of front-end parameters. When the FPGA uses this group of front-end parameters to generate image data, the front-end parameter version is bound with the generated image data, and the front-end parameter version and the generated image data are uploaded to the software together, so as to determine the version of the image data. Wherein, the specific binding time and binding method are as follows: after the software issues the parameters and the parameter version to the FPGA, the FPGA generates image data using the parameters issued by the software and uploads the software to bind.
[0061] Specifically, the process of adjusting the front-end parameters can include: after the front-end parameter calculation, the front-end parameter version corresponding to the front-end parameters is incremented, the front-end parameters and the front-end parameter version are issued to the FPGA, the FPGA generates image data through the front-end parameters, and uploads the corresponding front-end parameter version to the software together, as the image data and the corresponding data version. After the software receives the image data, the image data and the corresponding data version are parsed, and in the pre-processing, the front-end parameters corresponding to the front-end parameter version are found through the data version and the parameter distribution mechanism, and the pre-processing is entered. After the pre-processing is completed, the pre-processed data and the corresponding front-end parameters are stored in the playback area, and the mapping table is used to associate the data and the front-end parameters one by one, as the parameters and data source for subsequent frozen playback and image storage.
[0062] The image playback and storage system for an ultrasound system provided in this embodiment requires corresponding front-end parameters as support to process and obtain image data. Therefore, a data and front-end parameter binding protocol is developed for the software and FPGA in the ultrasound system's image playback and storage system. The corresponding relationship between the front-end parameters and the data is bound, so that the image data generated by the FPGA and the front-end parameter versions can be matched one by one. By binding the image data and the front-end parameters, the coexistence of image data and multiple sets of front-end parameters is achieved. The image data and the corresponding front-end parameters are stored in the ultrasound system's playback area through software. When the front-end parameters change, the corresponding front-end parameters can be obtained from the playback area based on the binding relationship between the front-end parameters and the image data. This avoids the need to clear the playback area before and after parameter adjustment due to mismatches between the parameters and data. Using the image playback and storage method of the ultrasound system in clinical applications such as prenatal examinations and neonatal examinations can obtain sufficient data at one time, significantly improving examination efficiency.
[0063] In this embodiment, a method for replaying and storing images of an ultrasound system is provided, which can be used in the above-mentioned image replaying and storing system of the ultrasound system. Figure 3 FIG. 1 is a flow chart of an image playback and storage method of an ultrasound system according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0064] Step S301: Determine the front-end parameters used by the ultrasound system for front-end imaging calculations. Figure 2 Step S101 of the illustrated embodiment will not be described in detail here.
[0065] Step S302: Calculate the front-end parameters, obtain the front-end parameter calculation results, and determine the front-end parameter version corresponding to the front-end parameters. Figure 2 Step S102 of the illustrated embodiment will not be described in detail here.
[0066] Step S303: Send the front-end parameter calculation result and the front-end parameter version to the field programmable gate array, so that the field programmable gate array can control and calculate the image data corresponding to the front-end parameter calculation result based on the front-end parameter calculation result, and use the front-end parameter version as the data version corresponding to the image data, and upload it to the software together with the image data. Figure 2 Step S103 of the illustrated embodiment will not be described in detail here.
[0067] Step S304: Receive image data, parse the image data, and obtain the image data and the data version corresponding to the image data. Figure 2 Step S101 of the illustrated embodiment will not be described in detail here.
[0068] In step S305, the image data is preprocessed by using the data version to determine the version parameter corresponding to the data version through the parameter distribution mechanism.
[0069] Specifically, the parameter distribution mechanism includes: dividing the front-end parameter into a first front-end parameter being written, a second front-end parameter being stored, and a third front-end parameter being read based on the processing state; the first front-end parameter is used for parameter linkage operation, and after the parameter linkage ends, the parameter is updated through the parameter distribution mechanism, and the second front-end parameter is updated and written by using the first front-end parameter.
[0070] The above step S305 includes:
[0071] In step S3051, the second front-end parameter is version-mapped based on the data version to obtain the second front-end parameter corresponding to the data version.
[0072] In step S3052, the second front-end parameter corresponding to the data version is transferred to the third front-end parameter to obtain the third front-end parameter corresponding to the data.
[0073] In an example, adjusting the data of the playback area according to the adjusted front-end parameter can include:
[0074] The front-end parameter is adjusted, the parameter version is incremented through front-end parameter calculation, at this time the parameter and the parameter version are issued to the FPGA. The FPGA generates image data through the parameter, and uploads the image data and the corresponding parameter version to the software as image data and corresponding data version. After the software receives the image data, the data and the corresponding data version are parsed, and when pre-processing, the corresponding version parameter is found through the data version and the parameter distribution mechanism, and the pre-processing is entered. The pre-processing includes black hole filling, multi-focus splicing, composition, line smoothing, frame correlation, etc. The steps included in the pre-processing are different according to different system schemes, which are not limited in the present application. After the pre-processing is completed, the pre-processed data and the corresponding front-end parameter are stored in the playback area, and a mapping table is used to associate the data and the parameter one by one as the parameter and data source for subsequent frozen playback and image storage. Among them, a mapping table is used to store the parameter version number and the corresponding specific parameter, and after the uploaded data is parsed, the data version information can be obtained, and the data version information is used as the association to find all parameters corresponding to the data version in the above mapping table.
[0075] First, after pre-processing is completed, the pre-processed data and the parameters used in pre-processing need to be stored in the playback area. Among them, the freeze playback mainly traverses the data in the playback area, obtains the data to be played back this time and the parameters corresponding to the data, and performs image post-processing, that is, the freeze playback can be realized. There are two kinds of image storage, real-time storage and freeze storage. Real-time storage refers to storing forward or backward in real time, obtaining data and corresponding parameters from the playback area, and storing the obtained data and parameters into a file; freeze storage refers to taking data and parameters from the playback area and storing them into a file under freeze. Both of these two storage methods depend on the data and parameters in the playback area. The data and parameters in the playback area have been cached during pre-processing, and freeze playback and image storage only need to determine the corresponding data and parameters from the playback area.
[0076] Specifically, the parameter distribution mechanism only needs to divide the parameters into three processes, the parameters being written, the parameters being stored in the middle, and the parameters being read. The parameters being written are used for parameter linkage operation, and after the parameter linkage operation is completed, the parameters are updated and written into the parameters being stored in the middle. The pre-processing obtains the data version number through data analysis, and the data version number is transmitted to the parameter distribution module. In the parameters being stored in the middle, the parameters corresponding to the version are found and moved to the parameters being read. At this time, the parameters corresponding to the data can be obtained. After the pre-processing is completed, the parameters corresponding to the data are verified and stored in the playback area. The post-processing obtains the data from the playback area, finds the parameters corresponding to the version in the playback area according to the data version, and performs image post-processing. Finally, the image is displayed.
[0077] Step S306, the pre-processed image data and the front-end parameters corresponding to the image data are stored in the playback area of the ultrasonic system to realize image playback and storage of the ultrasonic system. For details, please refer to Figure 1 The step S106 of the embodiment shown is not described here again.
[0078] Step S307, the front-end parameter version is incremented by one through front-end parameter calculation, and the data structure of the updated front-end parameter and the front-end parameter version corresponding to the front-end parameter is obtained, and returned to the step of issuing the front-end parameter calculation result and the front-end parameter version to the field programmable gate array.
[0079] In an example, the parameter version increment refers to incrementing the parameter version and issuing the result to the FPGA when the parameter is issued to the FPGA this time. After the parameter version is issued to the FPGA, the FPGA generates image data using the parameter issued this time. Then, the data version is the parameter version accompanied by the parameter issued this time.
[0080] In the mode, before the front-end parameter is issued to the FPGA this time, the version of the front-end parameter is increased and the version of the front-end parameter is issued to the FPGA after the adjustment of the front-end parameter, so that the FPGA generates image data using the front-end parameter issued this time after the version of the front-end parameter is issued to the FPGA, one-to-one binding of different versions of image data and parameters is realized, and then playback and storage of different versions of image data are realized, image data of multiple sets of front-end parameters can be stored on the same video, and the problem that the playback area data is emptied due to the fact that different versions of data cannot coexist is avoided.
[0081] The image playback and storage method of the ultrasonic system provided by the embodiment determines the front-end parameters used by the front-end imaging calculation of the ultrasonic system, calculates and generates a front-end parameter version corresponding to the front-end parameters by using the software of the ultrasonic system, and transmits the front-end parameter version to the FPGA of the ultrasonic system as an identifier, so that the image data generated by the FPGA and the front-end parameter version can be matched one by one. The image data and the front-end parameters are stored in the playback area of the ultrasonic system, so that when the front-end parameters change, the corresponding front-end parameters can be obtained from the playback area according to the binding relationship between the front-end parameters and the image data, and the playback area is emptied before and after the parameter adjustment caused by the mismatch between the parameters and the data. The image playback and storage method of the ultrasonic system can be used in the clinical application scenarios such as prenatal examination and neonatal examination, and sufficient data can be obtained at one time, which greatly improves the examination efficiency. After the front-end parameters are adjusted, the front-end parameter version is incremented before the front-end parameters are transmitted to the FPGA, and the front-end parameter version is transmitted to the FPGA, so that the FPGA generates image data by using the front-end parameters transmitted this time after the front-end parameter version is transmitted to the FPGA, the image data and the parameters of different versions are one-to-one bound, and the playback and storage of image data of different versions are realized. The image data of multiple sets of front-end parameters can be stored on the same video, which avoids emptying the playback area data due to the incompatibility of data of different versions. Through the parameter distribution mechanism, the parameters in different time periods are distributed and processed based on the time period of the front-end parameters, so as to determine the corresponding front-end parameters of the image data by using the parameter distribution mechanism, and realize the image playback and storage of the ultrasonic system. The second front-end parameters are mapped by using the data version to obtain the second front-end parameters corresponding to the data version, and the second front-end parameters corresponding to the data version are stored in the third front-end parameters being read, so that the front-end parameters corresponding to the data version can be obtained. The image data and the front-end parameters are associated one by one by using the mapping table, and are stored in the playback area of the ultrasonic system as the parameter and data source for subsequent frozen playback and image storage. Since the frozen playback refers to the data in the playback area, the data to be played back this time and the front-end parameters corresponding to the data are determined, so that the image data and the front-end parameters associated one by one are subjected to image post-processing, the data playback area does not need to be emptied, and the frozen playback can be realized.
[0082] The embodiment of the present application also provides an electronic device. Figure 4 , Figure 4 is a structural schematic diagram of an electronic device provided by the optional embodiment of the present application, as Figure 4As shown, the electronic device includes one or more processors 10, a memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components communicate via one or more buses and can be mounted on a common motherboard or in other manners as appropriate. The processor can process instructions for execution within the electronic device, including instructions stored in the memory or on the memory to implement aspects of the GUI displayed on an external input / output device, such as a display device coupled to the interface. In some alternative implementations, multiple processors and / or multiple buses can be employed as appropriate, as will be appreciated by those skilled in the art. Also, various components can be combined in a single package, or divided among different packages. The various components can be implemented in a single device or distributed across multiple devices in various arrangements. Figure 4 The processor 10 is taken as an example in the embodiments.
[0083] The processor 10 can be a central processing unit, a network processor, or a combination thereof. The processor 10 can further include a hardware chip. The hardware chip can be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device can be a complex programmable logic device, a field programmable logic device, a general array logic, or any combination thereof.
[0084] The memory 20 stores instructions that are executable by the at least one processor 10, so as to enable the at least one processor 10 to perform the method shown in the embodiments.
[0085] The memory 20 can include a program storage area and a data storage area. The program storage area can store an operating system, application programs required by at least one function, and the like. The data storage area can store data created according to the use of the electronic device, and the like. In addition, the memory 20 can include a high-speed random access memory, and can further include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some alternative implementations, the memory 20 can optionally include a memory that is remotely located with respect to the processor 10, and these remote memories can be connected to the electronic device through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0086] The memory 20 can include a volatile memory, such as a random access memory, and can also include a non-volatile memory, such as a flash memory, a hard disk, or a solid state disk. The memory 20 can further include a combination of the above-mentioned types of memories.
[0087] The electronic device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30, and the output device 40 can be connected by a bus or other means,Figure 4 The bus connection is taken as an example.
[0088] The input device 30 can receive inputted digital or character information, and generate key signal input related to user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 can include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), etc. The display device includes, but is not limited to, a liquid crystal display, a light emitting diode, a display, and a plasma display. In some alternative embodiments, the display device can be a touch screen.
[0089] The embodiments of the present application further provide a computer readable storage medium, and the method according to the embodiments of the present application can be implemented in hardware, firmware, or recorded in a storage medium, or stored in a remote storage medium or a non-transitory machine readable storage medium and downloaded from a network and stored in a local storage medium, so that the method described herein can be processed by such software on a storage medium using a general purpose computer, a special purpose processor, or programmable or special hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid state disk, etc. Further, the storage medium can also include a combination of the above-mentioned memories. It can be understood that the computer, the processor, the microprocessor controller, or the programmable hardware includes a storage component that can store or receive software or computer code, which, when accessed and executed by the computer, the processor, or the hardware, implements the method shown in the above embodiments.
[0090] Part of the present application can be applied as a computer program product, for example, computer program instructions, when executed by a computer, the operation of the computer can invoke or provide the method and / or technical solutions according to the present application. Those skilled in the art should understand that the form of computer program instructions in computer readable medium includes but is not limited to source file, executable file, installation package file, etc. Correspondingly, the way of computer program instructions executed by computer includes but is not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Here, the computer readable medium can be any available computer readable storage medium or communication medium accessible to the computer.
[0091] While embodiments of the application have been described in connection with the preferred embodiments of the various figures, those of ordinary skill in the art will appreciate that various modifications and changes can be made without departing from the spirit and scope of the application, and that such modifications and changes fall within the scope of the appended claims.
Claims
1. An image playback and storage method of an ultrasound system, characterized by, Software applied to the ultrasound system, the method comprising: Determine the front-end parameters used by the front-end imaging calculation of the ultrasound system; Perform parameter calculation on the front-end parameters to obtain front-end parameter calculation results and determine the front-end parameter version corresponding to the front-end parameters; Downlink the front-end parameter calculation results and the front-end parameter version to the field programmable gate array, so that the field programmable gate array controls and calculates the image data corresponding to the front-end parameter calculation results based on the front-end parameter calculation results, and uploads the front-end parameter version as the data version corresponding to the image data to the software in combination with the image data; Receive the image data, analyze the image data to obtain the image data and the data version corresponding to the image data; Determine the version parameter corresponding to the data version through a parameter distribution mechanism, and pre-process the image data using the data version; Store the pre-processed image data and the front-end parameters corresponding to the image data in the playback area of the ultrasound system to realize image playback and storage of the ultrasound system; The method further comprises: after the front-end parameters are adjusted, the front-end parameter version is incremented through the front-end parameter calculation to obtain the data structure bound by the updated front-end parameters and the front-end parameter version corresponding to the updated front-end parameters, and return to the step of downlinking the front-end parameter calculation results and the front-end parameter version to the field programmable gate array.
2. The method of claim 1, wherein, The parameter distribution mechanism comprises: dividing the front-end parameters into first front-end parameters being written, second front-end parameters being stored in the middle, and third front-end parameters being read based on processing states; The first front-end parameters are used for parameter linkage operation, and after the parameter linkage ends, the first front-end parameters are used for parameter update through the parameter distribution mechanism, and the second front-end parameters are updated and written using the first front-end parameters.
3. The method of claim 2, wherein, The determination of the version parameter corresponding to the data version comprises: Perform version mapping on the second front-end parameters based on the data version to obtain the second front-end parameters corresponding to the data version; Copy the second front-end parameters corresponding to the data version to the third front-end parameters to obtain the third front-end parameters corresponding to the data version.
4. The method of claim 1, wherein, The step of storing the pre-processed image data and the front-end parameters corresponding to the data version in the playback area of the ultrasound system comprises: Associate the pre-processed image data and the front-end parameters corresponding to the data version using a mapping table to obtain the associated image data and the front-end parameters, and store the associated image data and the front-end parameters associated with the image data in the playback area of the ultrasound system.
5. An image playback and storage method of an ultrasound system, characterized by, Field programmable gate array applied to the ultrasound system, the method comprising: Receiving a front-end parameter calculation result and a front-end parameter version issued by software, the front-end parameter calculation result being a front-end parameter determined by the software for front-end imaging calculation of an ultrasonic system, the front-end parameter being calculated to obtain the front-end parameter calculation result, the front-end parameter version being a front-end parameter version corresponding to the front-end parameter determined by the software for parameter calculation of the front-end parameter; after the front-end parameter is adjusted, the software performs the front-end parameter calculation, and the front-end parameter version is self-incremented to obtain a data structure binding an updated front-end parameter and a front-end parameter version corresponding to the updated front-end parameter, and the front-end parameter calculation result and the front-end parameter version are reissued to a field programmable gate array (FPGA); Based on the front-end parameter calculation result, image data corresponding to the front-end parameter is controlled and calculated; The front-end parameter version is taken as a data version corresponding to the image data, and the image data is uploaded to the software in combination, so that the software receives the image data, analyzes the image data to obtain the image data and the data version corresponding to the image data, determines a version parameter corresponding to the data version by a parameter distribution mechanism, and pre-processes the image data; the pre-processed image data and the front-end parameter corresponding to the data version are stored in a playback area of the ultrasonic system, so as to realize image playback and storage of the ultrasonic system.
6. An image playback and storage system for an ultrasound system, characterized by, The system comprises software of an ultrasonic system and a field programmable gate array (FPGA); The software determines a front-end parameter used for front-end imaging calculation of an ultrasonic system, performs parameter calculation on the front-end parameter to obtain a front-end parameter calculation result and determine a front-end parameter version corresponding to the front-end parameter, and issues the front-end parameter calculation result and the front-end parameter version to a field programmable gate array (FPGA); after the front-end parameter is adjusted, the software performs the front-end parameter calculation, the front-end parameter version is self-incremented to obtain a data structure binding an updated front-end parameter and a front-end parameter version corresponding to the updated front-end parameter, and returns to the step of issuing the front-end parameter calculation result and the front-end parameter version to the field programmable gate array (FPGA); The field programmable gate array (FPGA) receives the front-end parameter calculation result and the front-end parameter version issued by the software, controls and calculates image data corresponding to the front-end parameter based on the front-end parameter calculation result, and takes the front-end parameter version as a data version corresponding to the image data and uploads the image data to the software in combination; The software receives the image data, analyzes the image data to obtain the image data and the data version corresponding to the image data, determines a version parameter corresponding to the data version by a parameter distribution mechanism, pre-processes the image data, and stores the pre-processed image data and the front-end parameter corresponding to the image data in a playback area of the ultrasonic system to realize image playback and storage of the ultrasonic system.
7. An electronic device, comprising: It comprises: A memory and a processor, which are connected in communication with each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the image playback and storage method of the ultrasound system of any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for causing a computer to perform the image playback and storage method of the ultrasound system of any one of claims 1 to 5.
9. A computer program product, characterised in that, The computer readable storage medium stores computer instructions for causing a computer to perform the image playback and storage method of the ultrasound system of any one of claims 1 to 5.
Citation Information
Patent Citations
Ultrasonic image playback method and device, electronic equipment and readable storage medium
CN116469528A
Ultrasonic image rendering effect adjusting method and device, equipment and storage medium
CN117994182A