Image playback and storage method, system, equipment and medium for ultrasonic system
By determining and binding the front-end parameter version in the ultrasonic system, the problem of clearing the playback area caused by incompatibility between data and parameters in the prior art is solved, and the coexistence of image data and multiple sets of front-end parameters is realized, and the inspection efficiency is improved.
Patent Information
- Application Number
- CN202411433876.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-10-14
AI Technical Summary
After adjusting the front-end parameters, the existing ultrasonic system needs to clear the playback area to solve the incompatibility between the data and parameters, resulting in inefficient detection.
By determining the front-end parameters used for the front-end imaging calculation of the ultrasonic system, the software is used to calculate and generate the version corresponding to the front-end parameters, and sending it to the field programmable gate array, so that the image data it generates matches the front-end parameter version one by one, and binding the image data with the front-end parameters to store it in the playback area.
The coexistence of image data and multiple sets of front-end parameters is realized, the problem of clearing the playback area before and after parameter adjustment is avoided, and the inspection efficiency is improved.
Smart Images

Figure CN119560109A_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 the front-end parameters of the ultrasound system, such as detection depth, line density, speed scale, sampling line, etc., there are incompatibilities in the data and parameters before and after the adjustment. Therefore, most ultrasound systems need to clear 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 in these scenarios, and each test 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. Doctors must first freeze the previous image data if they want to obtain it, and then store the required data. The stored files are fragmented, and it is difficult for doctors to obtain enough data within a limited time, and the inspection efficiency is very low.
[0003] In the related technology, there is a mismatch between data and parameters in the existing ultrasound system before and after adjusting the parameters. The mismatch between data and parameters will lead to the inability to correctly image. 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, resulting in the need to clear 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] Determining 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 versions corresponding to the front-end parameters;
[0008] 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 controls and calculates the image data corresponding to the front-end parameter calculation result based on the front-end parameter calculation result, 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, and obtaining the image data and a data version corresponding to the image data;
[0010] Through the parameter distribution mechanism, the data version is used to determine the version parameters corresponding to the data version and pre-process the image data;
[0011] The pre-processed image data and the front-end parameters corresponding to the image data are stored in the playback area of the ultrasound system to realize image playback and storage of the ultrasound system.
[0012] In the present invention, by determining the front-end parameters used in the front-end imaging calculation of the ultrasound system, using the software of the ultrasound system to calculate and generate the front-end parameter version corresponding to the front-end parameters, the front-end parameter version is transmitted to 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 parameters are bound to each other, so that the image data and multiple sets of front-end parameters can coexist. The image data and the corresponding front-end parameters are stored in the playback area of the ultrasound 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, avoiding the mismatch between the parameters and the data. The playback area is cleared before and after the parameter adjustment. Using the image playback and storage method of the ultrasound system in clinical application scenarios such as prenatal examinations and neonatal examinations can obtain sufficient data at one time, greatly improving the inspection efficiency.
[0013] In an optional embodiment, the method further includes:
[0014] After the front-end parameters are adjusted, the front-end parameter version is incremented after the front-end parameter calculation to obtain a data structure bound to the updated front-end parameters and the front-end parameter version corresponding to the front-end parameters, and then returns to the step of sending the front-end parameter calculation results and the front-end parameter version to the field programmable gate array.
[0015] In this method, after the front-end parameters are adjusted, the front-end parameter version is incremented and sent to the FPGA before the front-end parameters are sent to the FPGA. This ensures that after the front-end parameter version is sent to the FPGA, the FPGA uses the front-end parameters sent this time to generate image data, thereby realizing one-to-one binding of different versions of image data and parameters, and then realizing playback and storage of different versions of image data. Image data with multiple sets of front-end parameters can be stored on the same video, avoiding the clearing of playback area data due to the inability of different versions of data to coexist.
[0016] In an optional implementation, the parameter distribution mechanism includes: 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 the processing status;
[0017] The first front-end parameter is used to perform parameter linkage operation. After the parameter linkage is completed, the parameter is updated through the parameter distribution mechanism. The first front-end parameter is used to perform an update write operation on the second front-end parameter and write it into the second front-end parameter.
[0018] In this method, through the parameter distribution mechanism, the parameters in different time periods are distributed and processed accordingly based on the time period in which the front-end parameters are located, so as to facilitate the use of the parameter distribution mechanism to determine the front-end parameters corresponding to the image data, thereby realizing image playback and storage of the ultrasound system.
[0019] In an optional implementation, determining a version parameter corresponding to a data version includes:
[0020] Based on the data version, version mapping is performed on the second front-end parameter to obtain the second front-end parameter corresponding to the data version;
[0021] 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 version.
[0022] In this method, the second front-end parameter is version mapped through 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 transferred to the third front-end parameter being read to obtain the front-end parameter corresponding to the data version.
[0023] In an optional implementation, storing the pre-processed image data and the front-end parameters corresponding to the data version in a playback area of the ultrasound system includes:
[0024] The pre-processed image data is associated with 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 the associated image data and the front-end parameters associated with the image data are stored in a playback area of the ultrasound system.
[0025] In this method, the image data and the front-end parameters are associated one by one by using a mapping table, and then transferred to the playback area of the ultrasound system as the parameter and data source for subsequent frozen playback and image storage. Since frozen playback refers to traversing the data in the playback area to determine the data to be played back this time and the front-end parameters corresponding to the data, image post-processing is performed on the image data and front-end parameters after the one-to-one association, and frozen playback can be achieved without clearing the data playback area.
[0026] In a second aspect, the present invention provides an image playback and storage method for an ultrasound system, which is applied to a field programmable gate array of the ultrasound system, and the method comprises:
[0027] Receive the front-end parameter calculation results and the front-end parameter version sent by the software, the front-end parameter calculation results are the front-end parameters used by the software to determine the front-end imaging calculation of the ultrasound system, perform parameter calculation on the front-end parameters to obtain the front-end parameter calculation results, and the front-end parameter version is the front-end parameter version corresponding to the front-end parameters determined by the software after performing parameter calculation on the front-end parameters;
[0028] Based on the calculation results of the front-end parameters, control and calculate to obtain image data corresponding to the front-end parameters;
[0029] The front-end parameter version is used as the data version corresponding to the image data, and is uploaded to the software together with the image data, so that the software receives the image data, parses the image data, and obtains the image data and the data version corresponding to the image data; through the parameter distribution mechanism, the data version and the parameter distribution mechanism are used to determine the front-end parameters corresponding to the data version, and pre-process the image data; the pre-processed image data and the front-end parameters corresponding to the data version are stored in the playback area of the ultrasound system to realize image playback and storage of the ultrasound system.
[0030] In the present invention, the front-end parameter version is transmitted to the FPGA as an identifier and the front-end parameter, and the FPGA generates corresponding image data according to the front-end parameter to achieve a one-to-one match between the image data generated by the FPGA and the front-end parameter version, and the image data and the front-end parameter version are transmitted back to the software, so that the software can achieve the coexistence of image data and multiple sets of front-end parameters by binding the image data with the front-end parameters. The image data and the corresponding front-end parameters are stored in the playback area of the ultrasound 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, thereby avoiding the clearing of the playback area before and after the parameter adjustment caused by the mismatch between the parameters and the data.
[0031] In a third aspect, the present invention provides an image playback and storage system for an ultrasound system, the system comprising: software and a field programmable gate array for the ultrasound system;
[0032] The software determines the front-end parameters used in the front-end imaging calculation of the ultrasound system; performs parameter calculation on the front-end parameters, obtains the front-end parameter calculation results and determines the front-end parameter versions corresponding to the front-end parameters; sends the front-end parameter calculation results and the front-end parameter versions to the field programmable gate array;
[0033] The field programmable gate array receives the front-end parameter calculation results and the front-end parameter version issued by the software; based on the front-end parameter calculation results, controls and calculates to obtain image data corresponding to the front-end parameters; 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;
[0034] The software receives image data, parses the image data, obtains the image data and the data version corresponding to the image data; uses the data version through a parameter distribution mechanism to determine the version parameters corresponding to the data version, and pre-processes the image data; stores the pre-processed image data and the front-end parameters corresponding to the image data into a playback area of the ultrasound system to realize image playback and storage of the ultrasound system.
[0035] In the present invention, since each piece of data needs to be supported by corresponding front-end parameters to process and obtain image data, a set of data and front-end parameter binding protocols are formulated for the software and FPGA in the image playback and storage system of the ultrasound system, and the mutual correspondence between the front-end parameters and the data is bound, so that the image data and the front-end parameter versions generated by the FPGA can be matched one by one, and the image data and the front-end parameters are bound in a way that the image data and the front-end parameters are bound, so that the image data and multiple sets of front-end parameters can coexist. The software stores the image data and the corresponding front-end parameters in the playback area of the ultrasound 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, avoiding the mismatch between the parameters and the data. The playback area is cleared before and after the parameter adjustment. Using the image playback and storage method of the ultrasound system in clinical application scenarios such as prenatal examinations and neonatal examinations can obtain enough data at one time, greatly improving the inspection efficiency.
[0036] In a fourth aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the image playback and storage method for an ultrasound system of the first aspect or any corresponding embodiment thereof, or executing the image playback and storage method for an ultrasound system of the second aspect.
[0037] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the image playback and storage method for an ultrasound system of the first aspect or any corresponding embodiment thereof, or to execute the image playback and storage method for an ultrasound system of the second aspect.
[0038] In a sixth aspect, the present invention provides a computer program product comprising computer instructions, wherein the computer instructions are used to enable a computer to execute the image playback and storage method for an ultrasound system of the first aspect or any corresponding embodiment thereof, or to execute the image playback and storage method for an ultrasound system of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 4 is a schematic diagram of the structure of an image playback and storage system of an ultrasound system according to an embodiment of the present invention.
[0041] Figure 2 Schematic diagram of interaction between an image playback and storage system of an ultrasound system according to an embodiment of the present invention.
[0042] Figure 3 The figure is a flow chart of an image playback and storage method of an ultrasound system according to an embodiment of the present invention.
[0043] Figure 4 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0045] In related technologies, in some special clinical scenarios, such as prenatal examinations and neonatal examinations, doctors cannot ensure the physical movements of the subjects in these scenarios, and each test 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 the gate, the spectrum needs to be refreshed. Doctors must first freeze the previous image data and then store the required data. The stored files are fragmented. Therefore, the ultrasound system needs to clear the playback area after adjusting the front-end parameters. It is difficult for doctors to obtain enough data within a limited time, and the inspection efficiency is very low.
[0046] To solve the above problems, an embodiment of the present invention provides an image playback and storage method for an ultrasound system, which is used in an image playback and storage system for an ultrasound system. In the following method embodiments, the execution subject is an image playback and storage system for an ultrasound system as an example for explanation. The image playback and storage system for an ultrasound system in this embodiment is suitable for use in a scenario where, in an ultrasound imaging scenario, the mismatch and incompatibility between ultrasound system parameters and data leads to the need to clear the data after adjusting the front-end parameters. The image playback and storage system for an ultrasound system provided by the present invention, since each piece of data needs to be supported by corresponding front-end parameters 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 ultrasound system, and the mutual correspondence 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, and the image data and the front-end parameter binding method are adopted to realize the coexistence of image data and multiple sets of front-end parameters. The image data and the corresponding front-end parameters are stored in the playback area of the ultrasound system through 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, avoiding the need to clear the playback area before and after parameter adjustment due to the mismatch between the parameters and the data. Using the image playback and storage method of the ultrasound system in clinical application scenarios such as prenatal examinations and neonatal examinations can obtain sufficient data at one time, greatly improving the inspection efficiency.
[0047] According to an embodiment of the present invention, an embodiment of an image playback and storage method of an ultrasound system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in an image playback and storage system of the ultrasound system, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0048] Figure 1 FIG. 4 is a schematic diagram of the structure of an image playback and storage system of an ultrasound system according to an embodiment of the present invention. Figure 1 As shown, the image playback and storage system of the ultrasound system includes: ultrasound system software 1 and a field programmable gate array 2. Figure 2 is an interactive schematic diagram of an image playback and storage system of an ultrasound system according to an embodiment of the present invention. In this embodiment, an image playback and storage method of an ultrasound system is provided, which can be used in the image playback and storage system of the ultrasound system, such as Figure 2 As shown, the software is used to execute steps S101 to S106, and the field programmable gate array is used to execute steps S201 to S203.
[0049] Step S101, determining front-end parameters used in front-end imaging calculation of an ultrasound system.
[0050] Step S102, performing parameter calculation on the front-end parameters, obtaining the front-end parameter calculation results and determining the front-end parameter versions corresponding to the front-end parameters.
[0051] In one example, the front-end parameter calculation results can be generated by performing linkage calculation on the front-end parameters, and the front-end parameter version can be generated by version auto-incrementing.
[0052] Step S103: Send the front-end parameter calculation result and the front-end parameter version to the field programmable gate array.
[0053] Step S201, receiving the front-end parameter calculation result and the front-end parameter version issued by the software.
[0054] Step S202: Based on the calculation result of the front-end parameters, control and calculate to obtain image data corresponding to the front-end parameters.
[0055] Step S203: The front-end parameter version is used as the data version corresponding to the image data and uploaded to the software together with the image data.
[0056] Step S104, receiving the image data, parsing the image data, and obtaining the image data and a data version corresponding to the image data.
[0057] Step S105 , using the data version through the parameter distribution mechanism, determining the version parameters corresponding to the data version, and pre-processing the image data.
[0058] Step S106, storing the pre-processed image data and the front-end parameters corresponding to the image data into the playback area of the ultrasound system to realize image playback and storage of the ultrasound system.
[0059] In one example, since each piece of data needs corresponding parameters as a support for the ultrasound system to process and obtain image data, it is necessary to formulate a set of data and parameter binding protocols, which can bind the corresponding relationship between parameters and data. The data and front-end parameters are bound in such a way that the data and parameters can be matched one by one. The front-end parameters are the parameters used in the front-end imaging calculations of the ultrasound system. Different system solutions and processing procedures will have different definitions of the front-end parameters. Taking the B mode as an example, the front-end parameters include depth, frequency, number of points, number of lines, spatial composite gear, angle, number of focal points, number of beams, etc., all of which are front-end parameters. The front-end parameters are not limited in the present invention.
[0060] Specifically, the mutual correspondence between the parameters and the data is constructed including: through the interaction between the software and the FPGA. Among them, the FPGA is responsible for some underlying controls in the ultrasound system and the transmission and reception of the probe, high-voltage switch control, image data generation and some simple and complicated calculations, data upload, etc., which are slightly different according to the system scheme, and the FPGA is not limited in the present invention. After the software calculates the parameters, it will calculate a series of front-end parameters, and send these front-end parameters to the FPGA; the FPGA will perform a series of controls and calculations according to the front-end parameters sent by the software, generate image data, and finally upload the image data to the software. FPGA acts as a bridge between the front-end parameters and data. After the software completes the parameter calculation, when sending the front-end parameters to the FPGA, the front-end parameter version corresponding to the front-end parameters needs to be sent to the FPGA as a mark of 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 to the generated image data, and the front-end parameter version and the generated image data are uploaded to the software together, and the version of the image data is determined. The specific binding time and binding method are as follows: after the software sends parameters and parameter versions to the FPGA, the FPGA uses the parameters sent by the software to generate image data and uploads it to the software for binding.
[0061] Specifically, the process of adjusting the front-end parameters may include: after the front-end parameters are calculated, the front-end parameter version corresponding to the front-end parameters is incremented, the front-end parameters and the front-end parameter version are sent to the FPGA, the FPGA generates image data through the front-end parameters, and the image data is uploaded to the software together with the corresponding front-end parameter version as image data and the corresponding data version. After receiving the image data, the software parses the image data and the corresponding data version, and when performing pre-processing, finds the front-end parameters corresponding to the front-end parameter version through the data version and parameter distribution mechanism, and enters the pre-processing; 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 parameter and data source for subsequent frozen playback and image storage.
[0062] The image playback and storage system of the ultrasound system provided in this embodiment requires corresponding front-end parameters as support to process and obtain image data. Therefore, a set of data and front-end parameter binding protocols are formulated for the software and FPGA in the image playback and storage system of the ultrasound system, and the mutual correspondence between the front-end parameters and the data is bound, so that the image data and the front-end parameter versions generated by the FPGA can be matched one by one. The image data and the front-end parameters are bound to achieve the coexistence of image data and multiple sets of front-end parameters. The image data and the corresponding front-end parameters are stored in the playback area of the ultrasound system by 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, avoiding the mismatch between the parameters and the data. The playback area is cleared before and after the parameter adjustment. Using the image playback and storage method of the ultrasound system in clinical application scenarios such as prenatal examinations and neonatal examinations can obtain enough data at one time, greatly improving the inspection efficiency.
[0063] In this embodiment, a method for replaying and storing images of an ultrasound system is provided, which can be used for the above-mentioned image replaying and storing system of the ultrasound system. Figure 3 FIG. 4 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 front-end imaging calculation. Figure 2 Step S101 of the illustrated embodiment will not be described in detail here.
[0065] Step S302, 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. Figure 2 Step S102 of the illustrated embodiment will not be described in detail here.
[0066] Step S303, the front-end parameter calculation result and the front-end parameter version are sent 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 result based on the front-end parameter calculation result, 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. For details, please refer to 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] Step S305 , using the data version through the parameter distribution mechanism, determining the version parameters corresponding to the data version, and pre-processing the image data.
[0069] Specifically, the parameter distribution mechanism includes: dividing the front-end parameters into the first front-end parameters being written, the second front-end parameters being stored in the middle and the third front-end parameters being read based on the processing status; the first front-end parameters are used to perform parameter linkage operations, and after the parameter linkage is completed, the parameters are updated through the parameter distribution mechanism, and the first front-end parameters are used to update and write the second front-end parameters into the second front-end parameters.
[0070] The above step S305 includes:
[0071] Step S3051: Based on the data version, version mapping is performed on the second front-end parameter to obtain the second front-end parameter corresponding to the data version.
[0072] Step S3052: transfer the second front-end parameter corresponding to the data version to the third front-end parameter to obtain the third front-end parameter corresponding to the data.
[0073] In one example, adjusting the data of the playback area according to the adjusted front-end parameters in the following manner may include:
[0074] Adjust the front-end parameters, and after the front-end parameter calculation, the parameter version will be automatically increased. At this time, the parameters and parameter versions will be sent to the FPGA. The FPGA generates image data through the parameters, and uploads it to the software together with the corresponding parameter version as image data and the corresponding data version. After receiving the image data, the software parses the data and the corresponding data version. When performing pre-processing, the corresponding version of the parameters is found through the data version and parameter distribution mechanism, and enters the pre-processing. The pre-processing includes black hole filling, multi-focus stitching, compounding, line smoothing, frame correlation, etc. The steps included in the pre-processing vary according to different system solutions and are not limited in the present invention. After the pre-processing is completed, the pre-processed data and the corresponding front-end parameters are stored in the playback area, and a mapping table is used to associate the data and parameters one by one as the parameters 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 parameters. After the uploaded data is parsed, the data version information can be obtained. The data version information is used as an association, and all parameters corresponding to the data version can be found in the above mapping table.
[0075] First, after the pre-processing is completed, the pre-processed data and the parameters used in the pre-processing need to be transferred to the playback area. Among them, frozen playback mainly traverses the data in the playback area, obtains the data and the corresponding parameters that need to be replayed this time, and performs image post-processing to achieve frozen playback. There are two types of image storage, real-time storage and frozen storage. Real-time storage means that in real time, press forward or backward storage to retrieve data and corresponding parameters from the playback area, and store the retrieved data and parameters in a file; frozen storage is to retrieve the data and parameters in the playback area in a frozen state and store them in a file. Both storage methods are dependent on the data and parameters in the playback area. The data and parameters in the playback area have been cached during pre-processing. Frozen 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 for parameter linkage operations. After the parameter linkage is completed, the parameters are updated and written to the parameters stored in the middle. The pre-processing obtains the data version number through data analysis, and passes the data version number to the parameter distribution module. The corresponding version of the parameters is found in the parameters stored in the middle, and the parameters are 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 transferred, and stored in the playback area together. The post-processing obtains data from the playback area, finds the corresponding version of the parameters in the playback area according to the data version, and performs image post-processing, and finally displays the image.
[0077] Step S306, storing the pre-processed image data and the front-end parameters corresponding to the image data into the playback area of the ultrasound system to achieve image playback and storage of the ultrasound system. Figure 1 Step S106 of the illustrated embodiment will not be described in detail here.
[0078] Step S307, after front-end parameter calculation, the front-end parameter version is incremented to obtain a data structure in which the updated front-end parameter is bound to the front-end parameter version corresponding to the front-end parameter, and returns to the step of sending the front-end parameter calculation result and the front-end parameter version to the field programmable gate array.
[0079] In one example, the parameter version increment means that when the parameters are sent to the FPGA this time, the parameter version is incremented and the result is sent to the FPGA. After the parameter version is sent to the FPGA, the FPGA uses the parameters sent this time to generate image data, and the data version is the parameter version accompanying the parameters sent this time.
[0080] In this method, after the front-end parameters are adjusted, the front-end parameter version is incremented and sent to the FPGA before the front-end parameters are sent to the FPGA. This ensures that after the front-end parameter version is sent to the FPGA, the FPGA uses the front-end parameters sent this time to generate image data, thereby realizing one-to-one binding of different versions of image data and parameters, and then realizing playback and storage of different versions of image data. Image data with multiple sets of front-end parameters can be stored on the same video, avoiding the clearing of playback area data due to the inability of different versions of data to coexist.
[0081] The image playback and storage method of the ultrasound system provided in this embodiment determines the front-end parameters used for the front-end imaging calculation of the ultrasound system, uses the software of the ultrasound system to calculate and generate the front-end parameter version corresponding to the front-end parameters, and transmits the front-end parameter version as an identifier to the FPGA of the ultrasound system, 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 parameters are bound in a way to achieve the coexistence of image data and multiple sets of front-end parameters. The image data and the corresponding front-end parameters are stored in the playback area of the ultrasound 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, avoiding the clearing of the playback area before and after the parameter adjustment caused by the mismatch between the parameters and the data. Using the image playback and storage method of the ultrasound system in clinical application scenarios such as prenatal examinations and neonatal examinations can obtain sufficient data at one time, greatly improving the inspection efficiency. After the front-end parameters are adjusted, before the front-end parameters are sent to the FPGA, the front-end parameter version is incremented and sent to the FPGA, ensuring that after the front-end parameter version is sent to the FPGA, the FPGA uses the front-end parameters sent this time to generate image data, realizing one-to-one binding of different versions of image data and parameters, thereby realizing playback and storage of different versions of image data, and multiple sets of image data of front-end parameters can be stored on the same video, avoiding the clearing of playback area data due to the inability of different versions of data to coexist. Through the parameter distribution mechanism, the parameters in different time periods are distributed and processed accordingly based on the time period in which the front-end parameters are located, so as to facilitate the use of the parameter distribution mechanism to determine the front-end parameters corresponding to the image data, thereby realizing image playback and storage of the ultrasound system. Through the data version, the second front-end parameter is version mapped to obtain the second front-end parameter corresponding to the data version, and the second front-end parameter corresponding to the data version is transferred to the third front-end parameter being read, so as to obtain the front-end parameter corresponding to the data version. By using the mapping table to associate the image data with the front-end parameters one by one, and transfer them to the playback area of the ultrasound system as the parameter and data source for subsequent frozen playback and image storage. Since frozen playback refers to traversing the data in the playback area to determine the data that needs to be played back this time and the front-end parameters corresponding to the data, image post-processing is performed on the image data and front-end parameters after one-to-one association. Frozen playback can be achieved without clearing the data playback area.
[0082] The embodiment of the present invention also provides an electronic device. Figure 4 , Figure 4 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Figure 4As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.
[0083] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0084] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0085] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0086] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[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 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0088] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0089] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0090] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0091] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An image playback and storage method for an ultrasound system, characterized in that: Software applied to the ultrasound system, the method comprising: Determining front-end parameters used in ultrasound system front-end imaging calculations; Perform 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; Sending the front-end parameter calculation result and the front-end parameter version to a field programmable gate array, so that the field programmable gate array controls and calculates image data corresponding to the front-end parameter calculation result based on the front-end parameter calculation result, and uses the front-end parameter version as a data version corresponding to the image data, and uploads it to the software together with the image data; receiving the image data, parsing the image data, and obtaining the image data and the data version corresponding to the image data; By using the data version through a parameter distribution mechanism, determining the version parameter corresponding to the data version, and pre-processing the image data; The pre-processed image data and the front-end parameters corresponding to the image data are stored in the playback area of the ultrasound system to realize the image playback and storage of the ultrasound system.
2. The method according to claim 1, characterized in that The method further comprises: After the front-end parameters are adjusted, the front-end parameter version is incremented after the front-end parameter calculation to obtain a data structure in which the updated front-end parameters are bound to the front-end parameter version corresponding to the updated front-end parameters, and the process returns to the step of sending the front-end parameter calculation result and the front-end parameter version to the field programmable gate array.
3. The method according to claim 1, characterized in that The parameter distribution mechanism includes: 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 the processing status; The first front-end parameter is used to perform a parameter linkage operation. After the parameter linkage is completed, the parameter is updated through a parameter distribution mechanism. The first front-end parameter is used to perform an update write operation on the second front-end parameter and write it into the second front-end parameter.
4. The method according to claim 3, characterized in that: The determining of the version parameter corresponding to the data version includes: Based on the data version, version mapping is performed on the second front-end parameter to obtain the second front-end parameter corresponding to the data version; 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 version.
5. The method according to claim 1, characterized in that The storing of the pre-processed image data and the front-end parameters corresponding to the data version into the playback area of the ultrasound system comprises: The pre-processed image data is associated with 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 the associated image data and the front-end parameters associated with the image data are stored in a playback area of an ultrasound system.
6. An image playback and storage method for an ultrasound system, characterized in that: A field programmable gate array applied to the ultrasound system, the method comprising: Receive the front-end parameter calculation result and the front-end parameter version issued by the software, wherein the front-end parameter calculation result is the front-end parameter used by the software to determine the front-end imaging calculation of the ultrasound system, perform parameter calculation on the front-end parameter to obtain the front-end parameter calculation result, and the front-end parameter version is the front-end parameter version corresponding to the front-end parameter determined by the software after performing parameter calculation on the front-end parameter; Based on the calculation result of the front-end parameters, control and calculate to obtain image data corresponding to the front-end parameters; The front-end parameter version is used as the data version corresponding to the image data, and is uploaded to the software together with the image data, so that the software receives the image data, parses the image data, and obtains the image data and the data version corresponding to the image data; through a parameter distribution mechanism, the data version is used to determine the version parameters corresponding to the data version, and the image data is pre-processed; the pre-processed image data and the front-end parameters corresponding to the data version are stored in the playback area of the ultrasound system to realize image playback and storage of the ultrasound system.
7. An image playback and storage system for an ultrasound system, characterized in that: The system includes: software and a field programmable gate array for an ultrasound system; The software determines the front-end parameters used in the front-end imaging calculation of the ultrasound system; performs parameter calculation on the front-end parameters to obtain the front-end parameter calculation results and determine the front-end parameter versions corresponding to the front-end parameters; and sends the front-end parameter calculation results and the front-end parameter versions to a field programmable gate array; The field programmable gate array receives the front-end parameter calculation result and the front-end parameter version issued by the software; based on the front-end parameter calculation result, controls and calculates to obtain the image data corresponding to the front-end parameter; 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; The software receives the image data, parses the image data, obtains the image data and the data version corresponding to the image data; uses the data version through a parameter distribution mechanism to determine the version parameters corresponding to the data version, and pre-processes the image data; stores the pre-processed image data and the front-end parameters corresponding to the image data into a playback area of the ultrasound system to realize image playback and storage of the ultrasound system.
8. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the image playback and storage method of the ultrasound system according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the image playback and storage method of the ultrasound system according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the image playback and storage method of the ultrasound system according to any one of claims 1 to 6.
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
Storing imaging parameters
US20080130972A1
Playback mode in an optoacoustic imaging system
US20130296701A1