Ultrasound equipment image distinguishing layer processing method and device, equipment and storage medium
By creating an image display area in the ultrasound device and uniformly managing the widgets of the control layer, the problems of low image refresh efficiency and poor synchronization are solved, and more efficient image switching and synchronization are achieved.
Patent Information
- Application Number
- CN202310099128.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-03
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2043-02-03
AI Technical Summary
In the image display control of existing ultrasound equipment, the image refresh efficiency is low, the synchronization between the image and the control is poor when switching modes, the operation is cumbersome and easy to miss.
By obtaining the split-screen mode, an image display area is created, and multiple windows are created in this area, including an image layer and a control layer. The transformation matrix of the control layer is calculated according to the operating parameters, the widgets of the control layer are uniformly managed for adaptive adjustment, and the reconstructed image is refreshed to the corresponding window.
It improves the image refresh efficiency, solves the image transient during mode switching, achieves better synchronization between image and controls, and simplifies the operation process.
Smart Images

Figure CN116092660B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ultrasonic image display control, and in particular to a method, device, equipment and storage medium for processing image differentiation and layering of ultrasonic equipment. Background Art
[0002] Ultrasound equipment has many imaging modes. For each imaging mode, the image area has one or more corresponding display input controls. These include the zoom ROI in B mode, the color ROI in C mode, the sampling gate in PW mode, the sampling line in anatomical M, the depth scale, and so on. When changing the display format or performing operations such as zooming, translating, or rotating the image, each widget in the image area must undergo a corresponding transformation to achieve synchronization with the image. Currently, when performing rotation, translation, or zoom transformations, a separate coordinate conversion and drawing is performed for each widget. This control process is cumbersome, redundant, and prone to omissions, making it difficult to expand and maintain. Therefore, innovative research on existing problems in ultrasound image display control technology is of great research significance.
[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for image segmentation and layer processing of ultrasound equipment, aiming to solve the problems of low image refresh efficiency, image transients during mode switching, and poor synchronization between image and control in the existing technology.
[0005] To achieve the above object, the present invention provides a method for processing ultrasound image segmentation and layering, the method comprising the following steps:
[0006] Get the split-screen mode and create an image display area;
[0007] Creating multiple windows according to the split-screen mode through the image display area, each of the windows including: an image layer and a corresponding control layer;
[0008] After performing a display mode switching operation on the image displayed on the current image layer, obtaining a transformation matrix of the control corresponding to the control layer in the current image layer according to the current operation parameters;
[0009] Apply the transformation matrix to the control layer to make all widgets in the control layer adaptively adjusted, and refresh the reconstructed image to the corresponding window.
[0010] Optionally, before refreshing the reconstructed image to the corresponding window, the method further includes:
[0011] Applying the transformation matrix to all control layers to obtain a reconstructed image of the image layer, so that all control layer widgets complete a unified adaptive transformation;
[0012] Scaling the reconstructed image to obtain a processed reconstructed image;
[0013] The processed reconstructed image is drawn to obtain a reconstructed image.
[0014] Optionally, refreshing the reconstructed image to a corresponding window includes:
[0015] Obtaining reconstructed image attributes, wherein the reconstructed image attributes include: image number and corresponding image format;
[0016] Obtaining current window attributes, including window position and window number, where the window position corresponds to the window number;
[0017] The window numbers are traversed, and when the image number is equal to the window number, the reconstructed image format is refreshed to the corresponding window position.
[0018] Optionally, obtaining a transformation matrix of a control corresponding to the control layer in the current image layer according to current operation parameters includes:
[0019] Reset the current transformation matrix of the control layer;
[0020] Calculate and switch the current transformation matrix of the control layer according to the operation parameters;
[0021] Get the transformation matrix of the corresponding control after switching.
[0022] Optionally, before obtaining the split-screen mode and creating the image display area, the method further includes:
[0023] Get scene information;
[0024] In the case where the scene information is a real-time scanning scene, binding the real-time scene;
[0025] In the case where the scene information is a movie callback scene, the movie scene is bound.
[0026] Optionally, after creating multiple windows according to the split-screen mode using the image display area, the method further includes:
[0027] Creating a one-dimensional image layer on the window, and creating a one-dimensional control layer on the one-dimensional image layer;
[0028] A two-dimensional image layer is created on the window, and a two-dimensional control layer is created on the two-dimensional image layer.
[0029] Optionally, the image layer includes an image component;
[0030] The control layer controls and manages the switching operation of the corresponding image layer components.
[0031] In addition, to achieve the above-mentioned purpose, the present invention further proposes a device for performing hierarchical processing of ultrasound image differentiation, the device comprising:
[0032] Create a module to obtain the split-screen mode and create an image display area;
[0033] The creation module is further configured to create multiple windows according to the split-screen mode through the image display area, each of the windows including: an image layer and a corresponding control layer;
[0034] A control module, configured to obtain, after performing a display mode switching operation on an image displayed on a current image layer, a transformation matrix of a control corresponding to the control layer in the current image layer according to current operation parameters;
[0035] The display module is used to apply the transformation matrix to the control layer, so that all the widgets in the control layer can complete adaptive adjustment and refresh the reconstructed image to the corresponding window.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes a device for hierarchical processing of ultrasound equipment image differentiation, which includes: a memory, a processor, and a program for hierarchical processing of ultrasound equipment image differentiation stored on the memory and runnable on the processor, and the program for hierarchical processing of ultrasound equipment image differentiation is configured to implement the method for hierarchical processing of ultrasound equipment image differentiation as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a program for hierarchical processing of ultrasound image differentiation is stored. When the program for hierarchical processing of ultrasound image differentiation is executed by a processor, the method for hierarchical processing of ultrasound image differentiation as described above is implemented.
[0038] The present invention proposes a method for layered processing of ultrasound equipment image areas, which creates an image display area by acquiring a split-screen mode; creates multiple windows according to the split-screen mode through the image display area, each of which includes: an image layer and a corresponding control layer; after performing a display mode switching operation on the image displayed by the current image layer, obtains the transformation matrix of the control corresponding to the control layer in the current image layer according to the current operation parameters; applies the transformation matrix to the control layer, so that all the widgets in the control layer complete adaptive adjustment, and refreshes the reconstructed image to the corresponding window. Through the above method, all the widgets in the image area are uniformly managed by the control layer, so that the image area components can undergo an overall adaptive transformation when the image is switched, thereby improving the image refresh efficiency, solving the image transient during mode switching, and achieving better synchronization between the image and the control. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 1 is a schematic structural diagram of an ultrasound device image differentiation and layer processing device in a hardware operating environment according to an embodiment of the present invention;
[0040] Figure 2 This is a flow chart of a first embodiment of a method for hierarchical processing of ultrasound equipment image segmentation according to the present invention;
[0041] Figure 3 A schematic diagram of image region creation for an embodiment of a method for hierarchical processing of image regions of an ultrasound device according to the present invention;
[0042] Figure 4 This is a flowchart of image area scaling / translation / rotation processing according to an embodiment of a method for layered processing of image areas of an ultrasound device according to the present invention;
[0043] Figure 5 This is a flowchart of the rotation matrix calculation of an embodiment of the method for hierarchical processing of ultrasound equipment image differentiation of the present invention;
[0044] Figure 6 This is a flow chart of a second embodiment of a method for hierarchical processing of ultrasound equipment image segmentation according to the present invention;
[0045] Figure 7 This is a functional module diagram of the first embodiment of the apparatus for hierarchical processing of ultrasound equipment image regions according to the present invention.
[0046] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0048] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of an ultrasound device image classification and layered processing device in the hardware operating environment involved in an embodiment of the present invention.
[0049] like Figure 1 As shown, the ultrasound device image segmentation layer processing device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0050] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the image differentiation and layer processing device of the ultrasound device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0051] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an ultrasound device image differentiation and layer processing program.
[0052] exist Figure 1 In the ultrasound device image segmentation hierarchical processing device shown, the network interface 1004 is mainly used for data communication with the network integration platform workstation; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the ultrasound device image segmentation hierarchical processing device of the present invention can be set in the ultrasound device image segmentation hierarchical processing device, and the ultrasound device image segmentation hierarchical processing device calls the ultrasound device image segmentation hierarchical processing program stored in the memory 1005 through the processor 1001, and executes the ultrasound device image segmentation hierarchical processing method provided by the embodiment of the present invention.
[0053] Based on the above hardware structure, an embodiment of a hierarchical processing method for image segmentation of an ultrasound device of the present invention is proposed.
[0054] Reference Figure 2 , Figure 2 This is a flow chart of a first embodiment of a method for hierarchical processing of ultrasound equipment image regions according to the present invention.
[0055] In a first embodiment, the ultrasound device image differentiation and layer processing method includes the following steps:
[0056] Step S10: Acquire the split-screen mode and create an image display area.
[0057] It should be noted that the execution subject of this embodiment is an ultrasound device image segmentation and layering control device, which refers to a device used to implement functions such as image segmentation, layer partitioning, control management, image refresh, reconstruction, and display. Other devices with the same or similar functions may also be used, and this embodiment does not limit this. In this embodiment, the ultrasound device image segmentation and layering control device is used as an example for description.
[0058] It is understood that the split-screen mode refers to the mode in which the ultrasound image displayed on the screen is divided. Split-screen modes generally include two-split screen and four-split screen, and this embodiment does not limit this. The image display area refers to the area mapped to the image after the ultrasound image is acquired during the image creation process, which is used to display the image.
[0059] In the specific implementation, the preset split-screen mode is obtained by preprocessing the ultrasound image, and the partition of the image area that needs to be displayed is determined according to the split-screen mode. For example: when the split-screen mode is obtained as a two-split screen, the image area needs to be divided into two areas, and the ultrasound images displayed in the current two areas are different.
[0060] Furthermore, before step S10, the method further includes: acquiring scene information; binding the real-time scene when the scene information is a real-time scanning scene; and binding the movie scene when the scene information is a movie callback scene.
[0061] It should be noted that scene information refers to the scanning method used to establish the image area during ultrasound imaging. This scene information includes real-time scenes and movie scenes. The real-time scene refers to the scene in which ultrasound images are scanned and converted for presentation in the image display area during real-time ultrasound acquisition. The movie scene refers to the scene in which ultrasound scanning acquires imaging data, stores the data in the device, and plays back the previously acquired imaging data when it needs to be displayed on the screen. This corresponds to the movie callback scene.
[0062] In a specific implementation, if the current usage scenario is detected as a real-time scanning scenario, the scenario is set to the real-time scenario, and the real-time scenario is bound to the image display area. The image displayed in the image display area now corresponds to the image acquired in the real-time scanning scenario. If the current usage scenario is detected as a movie scenario, the callback imaging data information stored in the memory is obtained, and the movie scene is bound to the image display area. The image displayed in the image area now corresponds to the movie callback imaging.
[0063] Step S20: creating multiple windows according to the split-screen mode through the image display area.
[0064] It's understandable that during ultrasound imaging, different areas of the image are displayed on the screen to enable inspectors to better analyze the structure of the detected target, so split-screen mode is necessary. To divide the screen into multiple windows based on split-screen mode, the window needs to be statically divided into multiple views of different types and layouts, with each view corresponding to a corresponding window. This results in a split-screen window.
[0065] Furthermore, after step S20, the method further includes: creating a one-dimensional image layer on the window, and creating a one-dimensional control layer on the one-dimensional image layer; creating a two-dimensional image layer on the window, and creating a two-dimensional control layer on the two-dimensional image layer.
[0066] It should be understood that a one-dimensional image layer refers to a layer used to display one-dimensional ultrasound images. One-dimensional imaging modes generally include: A-mode display, which uses a horizontal baseline (X-axis) to represent the distance or time of ultrasound propagation, and a signal perpendicular to the baseline (Y-axis) to represent the amplitude of ultrasound reflection. The one-dimensional image area is used to display one-dimensional images displayed in A-mode. This embodiment does not limit the imaging modes of one-dimensional display. A two-dimensional image layer refers to a layer used to display two-dimensional ultrasound images. Two-dimensional imaging modes generally include B-mode display, C-mode display, and F-mode display. The image displayed corresponds to a specific body section, and the brightness of the light spot corresponds to the intensity of the echo signal at that location. Most ultrasound diagnostic devices obtain two-dimensional images using a B-mode scan. A B-scan displays a cross-sectional image parallel to the direction of the sound beam, with the vertical axis representing the distance from the body surface and the horizontal axis corresponding to the horizontal position. In addition to B-scan, the image number of a cross-sectional image obtained by various imaging methods can be displayed in a two-dimensional image, and the displayed cross-sectional image depends on the imaging method. For example, a C-scan image displays a cross section perpendicular to the acoustic beam, and an F-scan image displays an image of any plane, etc. This embodiment does not limit the imaging mode of two-dimensional display.
[0067] It should be understood that the one-dimensional control layer refers to the control that displays and controls the one-dimensional image layer, and the two-dimensional control layer refers to the control that displays and controls the two-dimensional image layer, such as Figure 3 As shown, Figure 3This is a schematic diagram of the image area creation process of the present invention. After acquiring the split-screen mode, two window areas are created. A one-dimensional image layer is created on each window area. A one-dimensional control layer is created on the one-dimensional image layer of each window, with the control layer overlaying the one-dimensional image layer. A two-dimensional image layer is created above the one-dimensional area, with a similar two-dimensional control layer overlaying the two-dimensional image layer. The image layer contains image components, and the control layer controls and manages switching operations for the corresponding image layer components.
[0068] Step S30: After performing a display mode switching operation on the image displayed in the current image layer, a transformation matrix of the control corresponding to the control layer in the current image layer is obtained according to current operation parameters.
[0069] It should be noted that the display mode switching operation refers to the operation performed on the layer after the display imaging mode is determined, the operation parameters refer to the operation parameters performed during the display imaging mode switching operation, and the display mode refers to the layer imaging mode, such as the Type A display mode of the one-dimensional imaging mode or the Type B display mode of the two-dimensional imaging mode mentioned above, which is not limited in this embodiment. The transformation matrix of the control corresponding to the control layer refers to the transformation matrix that needs to be obtained in advance when performing the transformation operation, and then the control layer control is operated according to the transformation matrix.
[0070] It should be understood that the transformation matrix applied to the control layer can transform the control components of the control layer. Since the control layer and the image layer are drawn separately, the application of the transformation matrix of the control layer will not cause changes to the image.
[0071] Furthermore, step S30 includes: resetting the current transformation matrix of the control layer; calculating and switching the current transformation matrix of the control layer according to the operation parameters; and obtaining the transformation matrix of the corresponding control after switching.
[0072] It should be noted that resetting the current transformation matrix means resetting the last adjusted transformation matrix to obtain the initial transformation matrix. When switching the display mode, the operation parameters are obtained and used as input parameters to adjust the transformation matrix and obtain the transformation matrix of the corresponding control after switching.
[0073] In the specific implementation, Figure 4 As shown, Figure 4The image area scaling / translation / rotation processing flow chart of the present invention, during a rotation transformation process, first, in the parameter control module, according to the actual clinical application scenario, the processing parameters are switched, and after the parameter switching process, the image processing module rotates the image according to the input parameters, and transmits the image and image information to the image area; in the matrix calculation part, according to the input parameters, the transformation matrix required for the entire control layer is calculated; finally, in the result output module, the transformed image is drawn to the image layer, and the calculated transformation matrix is applied to all control layers. In the transformation matrix calculation, as shown in FIG. Figure 5 As shown, Figure 5 The following is the rotation matrix calculation flow chart. First, reset the current transformation matrix to the initial state, perform W / 2 and H / 2 translations on the X and Y directions of the matrix respectively, obtain the final rotation angle accumulated by the parameter module, perform a rotation transformation on the matrix by the current rotation angle, and perform -W / 2 and -H / 2 translations on the X and Y directions of the matrix respectively. The final rotation angle accumulated by the parameter module requires angle adjustment when performing matrix transformation. All angles are accumulated to obtain the final rotation angle. W refers to the width of the control layer, and H refers to the height of the control layer.
[0074] Step S40: Control the controls corresponding to all image layers to perform adaptive adjustments according to the transformation matrix, and refresh the reconstructed images to the corresponding windows.
[0075] It should be noted that the controls corresponding to the image layer refer to the part of controls displayed superimposed on the image layer. The controls and the image layer are layered, thus avoiding the linked redrawing of the image area controls caused by image drawing on the image layer, resulting in low image refresh efficiency.
[0076] It's understandable that after obtaining the transformation matrix, the control layer adjusts itself accordingly, unaffected by image refreshes at the image layer. This unified transformation matrix processing at the control layer eliminates the redundancy that would arise from implementing translation / rotation / scaling transformations for each control individually, making code modules easier to scale and more synchronized.
[0077] Furthermore, step S40 includes: obtaining reconstructed image attributes, the reconstructed image attributes including: image number and corresponding image format; obtaining current window attributes, the current window attributes including: window position and window number, the window position corresponding to the window number; traversing the window number, and when the image number is equal to the window number, refreshing the reconstructed image format to the corresponding window position.
[0078] It can be understood that the reconstructed image attributes are the reconstructed image information obtained after scanning and image resolution technology. The reconstructed image information includes the image number and the corresponding image format. Each image number corresponds to its image format and the image itself. The window attributes include the window position and the corresponding window number. The window position is located at a preset position in the image area, and the window number corresponds to the window position. When the corresponding image number in the reconstructed image information is obtained, the current window information is traversed to obtain the target window number. At this time, the target window number is the same as the reconstructed image information number. The corresponding reconstructed image is refreshed in its image display format to the window position corresponding to the number, thus avoiding the transient image refresh when switching modes.
[0079] This embodiment obtains a split-screen mode and creates an image display area; creates multiple windows according to the split-screen mode through the image display area, each of which includes: an image layer and a corresponding control layer; after performing a display mode switching operation on the image displayed by the current image layer, obtains the transformation matrix of the control corresponding to the control layer in the current image layer according to the current operation parameters; controls the controls corresponding to all image layers to perform adaptive adjustments according to the transformation matrix, and refreshes the reconstructed image to the corresponding window. Through the above method, all image area widgets are uniformly managed by the control layer, so that the image area components can perform an overall adaptive transformation when the image is switched, thereby improving the image refresh efficiency, solving the image transient during mode switching, and achieving better synchronization between the image and the control.
[0080] In the first embodiment, as Figure 6 As shown, the second embodiment of the method for processing ultrasonic image segmentation and layering, before step S40, further includes:
[0081] Step S410: Apply the transformation matrix to all control layers to obtain a reconstructed image of the image layer, so that all control layer widgets complete a unified adaptive transformation.
[0082] It should be noted that the transformation matrix refers to the matrix obtained by the matrix transformation algorithm using the operation parameters as input parameters in the above method. After the transformation matrix is applied to the control layer, the control layer uses the output of the transformation matrix to make individual control adjustments. The control layer controls the control adjustments of all image layers. The reconstructed image of the image layer includes the image number and image format. After the transformation matrix is applied to the control layer, the image layer draws the image.
[0083] Step S420: scaling the reconstructed image to obtain a processed reconstructed image.
[0084] It can be understood that the magnification processing of the reconstructed image refers to filling through improved pixel interpolation. In this process, it is necessary to obtain the image magnification factor. When the row magnification factor of the image is the same as the column magnification factor, pixel interpolation filling is performed. The interpolation filling method includes: nearest neighbor interpolation filling, bilinear interpolation filling, pixel exchange interpolation filling and wavelet-based interpolation scaling method, etc. This embodiment does not limit this. After the filling process is performed by pixel interpolation, an enlarged reconstructed image can be obtained. The ordinary image magnification process is generally in the scene view layer. When the scene layer performs image operations, it will cause image distortion. Therefore, the present invention performs drawing processing on the image layer after the image processing module magnifies the image.
[0085] Step S430 , rendering the processed reconstructed image to obtain a reconstructed image.
[0086] This embodiment applies the transformation matrix to all control layers to obtain a reconstructed image of the image layer; amplifies the reconstructed image to obtain a processed reconstructed image; and renders the processed reconstructed image to obtain a reconstructed image. Through the above-described method, the reconstructed image is transformed, amplified, and subjected to noise reduction and image smoothing processing, thereby ensuring that the rendered image retains details and edges and avoids image distortion.
[0087] In addition, an embodiment of the present invention further proposes a storage medium storing an ultrasound device image differentiation and layer processing program. When the ultrasound device image differentiation and layer processing program is executed by a processor, the steps of the ultrasound device image differentiation and layer processing method described above are implemented.
[0088] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0089] In addition, refer to Figure 7 The embodiment of the present invention further provides a device for processing image separation and layering of ultrasound equipment, the device comprising:
[0090] Creating module 10, used to obtain a split-screen mode and create an image display area;
[0091] The creation module 10 is further configured to create multiple windows according to the split-screen mode through the image display area, each of the windows including: an image layer and a corresponding control layer;
[0092] The control module 20 is configured to obtain, after performing a display mode switching operation on the image displayed on the current image layer, a transformation matrix of the control corresponding to the control layer in the current image layer according to current operation parameters;
[0093] The display module 30 is used to apply the transformation matrix to the control layer, so that all the widgets in the control layer complete adaptive adjustment and refresh the reconstructed image to the corresponding window.
[0094] This embodiment obtains a split-screen mode and creates an image display area; creates multiple windows according to the split-screen mode through the image display area, each of which includes: an image layer and a corresponding control layer; after performing a display mode switching operation on the image displayed by the current image layer, obtains the transformation matrix of the control corresponding to the control layer in the current image layer according to the current operation parameters; applies the transformation matrix to the control layer, so that all the widgets in the control layer complete adaptive adjustment, and refreshes the reconstructed image to the corresponding window. Through the above method, all the widgets in the image area are uniformly managed by the control layer, so that the components in the image area can undergo an overall adaptive transformation when the image is switched, thereby improving the image refresh efficiency, solving the image transient during mode switching, and making the image and the control have better synchronization.
[0095] In this embodiment, the creation module 10 is further configured to obtain scene information; bind a real-time scene if the scene information is a real-time scanning scene; and bind a movie scene if the scene information is a movie callback scene.
[0096] In this embodiment, the creation module 10 is further used to create a one-dimensional image layer on the window, and a one-dimensional control layer on the one-dimensional image layer; create a two-dimensional image layer on the window, and a two-dimensional control layer on the two-dimensional image layer.
[0097] In this embodiment, the creation module 10 is further configured to include an image component in the image layer;
[0098] The control layer controls and manages the switching operation of the corresponding image layer components.
[0099] In this embodiment, the control module 20 is further configured to reset the current transformation matrix of the control layer; calculate and switch the current transformation matrix of the control layer according to the operation parameters; and obtain the transformation matrix of the corresponding control after switching.
[0100] In this embodiment, the control module 20 is also used to apply the transformation matrix to all control layers to obtain a reconstructed image of the image layer, so that all control layer widgets complete a unified adaptive transformation; scale the reconstructed image to obtain a processed reconstructed image; and draw the processed reconstructed image to obtain a reconstructed image.
[0101] In this embodiment, the display module 30 is also used to obtain reconstructed image attributes, which include: image number and corresponding image format; obtain current window attributes, which include: window position and window number, and the window position corresponds to the window number; traverse the window number, and when the image number is equal to the window number, refresh the reconstructed image format to the corresponding window position.
[0102] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the embodiment scheme, and no limitation is made here.
[0103] In addition, for technical details not fully described in this embodiment, reference can be made to the ultrasound device image segmentation and layer processing method provided in any embodiment of the present invention, which will not be repeated here.
[0104] Other embodiments or implementation methods of the device for processing image separation layers in ultrasound equipment of the present invention may refer to the above-mentioned method embodiments, which will not be repeated here.
[0105] In addition, it should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0106] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0107] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, or of course by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, an integrated platform workstation, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0108] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for processing image separation layers of an ultrasound device, characterized in that: The method for processing image regions and layers of an ultrasound device is applied to an ultrasound device, wherein the image display area of the ultrasound device includes multiple window partitions, each of which includes an image layer and a corresponding control layer. The method includes: Get the split-screen mode and create an image display area; Creating multiple windows according to the split-screen mode through the image display area, each of the windows including: an image layer and a corresponding control layer; After performing a display mode switching operation on the image displayed on the current image layer, obtaining a transformation matrix of the control corresponding to the control layer in the current image layer according to the current operation parameters; Applying a transformation matrix to the control layer enables all widgets in the control layer to complete adaptive adjustments and refreshes the reconstructed image to the corresponding window. The transformation matrix is a matrix obtained by a matrix transformation algorithm with operation parameters as input parameters. After the transformation matrix is applied to the control layer, the control layer uses the output of the transformation matrix to perform individual control adjustments, controlling the control adjustments of all image layers. After creating a plurality of windows according to the split-screen mode through the image display area, the method further includes: Creating a one-dimensional image layer on the window, and creating a one-dimensional control layer on the one-dimensional image layer; A two-dimensional image layer is created on the window, and a two-dimensional control layer is created on the two-dimensional image layer.
2. The method according to claim 1, wherein Before refreshing the reconstructed image to the corresponding window, the method further includes: Applying the transformation matrix to all control layers to obtain a reconstructed image of the image layer, so that all control layer widgets complete a unified adaptive transformation; Scaling the reconstructed image to obtain a processed reconstructed image; The processed reconstructed image is drawn to obtain a reconstructed image.
3. The method according to claim 1, wherein The step of refreshing the reconstructed image to the corresponding window includes: Obtaining reconstructed image attributes, wherein the reconstructed image attributes include: image number and corresponding image format; Obtaining current window attributes, including window position and window number, where the window position corresponds to the window number; The window numbers are traversed, and when the image number is equal to the window number, the reconstructed image format is refreshed to the corresponding window position.
4. The method according to claim 1, wherein The obtaining, according to the current operation parameters, a transformation matrix of the control corresponding to the control layer in the current image layer includes: Reset the current transformation matrix of the control layer; Calculate and switch the current transformation matrix of the control layer according to the operation parameters; Get the transformation matrix of the corresponding control after switching.
5. The method according to claim 1, wherein Before obtaining the split-screen mode and creating the image display area, the method further includes: Get scene information; In the case where the scene information is a real-time scanning scene, binding the real-time scene; In the case where the scene information is a movie callback scene, the movie scene is bound.
6. The method according to claim 1, wherein The image layer includes an image component; The control layer controls and manages the switching operation of the corresponding image layer components.
7. A device for hierarchical processing of ultrasound image differentiation, characterized in that: The device for performing hierarchical processing of ultrasound equipment image differentiation comprises: Create a module to obtain the split-screen mode and create an image display area; The creation module is further configured to create multiple windows according to the split-screen mode through the image display area, each of the windows including: an image layer and a corresponding control layer; A control module, configured to obtain, after performing a display mode switching operation on an image displayed on a current image layer, a transformation matrix of a control corresponding to the control layer in the current image layer according to current operation parameters; A display module is used to apply a transformation matrix to the control layer, so that all widgets in the control layer complete adaptive adjustment and refresh the reconstructed image to the corresponding window. The transformation matrix is a matrix obtained according to a matrix transformation algorithm with operation parameters as input parameters. After the transformation matrix is applied to the control layer, the control layer uses the output of the transformation matrix to perform individual control adjustments, thereby controlling the control adjustments of all image layers; The creation module is further configured to create a one-dimensional image layer on the window, and a one-dimensional control layer on the one-dimensional image layer; A two-dimensional image layer is created on the window, and a two-dimensional control layer is created on the two-dimensional image layer.
8. A device for performing layered processing of ultrasound image differentiation, characterized in that: The ultrasound device image differentiation hierarchical processing device includes: a memory, a processor, and a program for ultrasound device image differentiation hierarchical processing stored in the memory and runnable on the processor. The program for ultrasound device image differentiation hierarchical processing is configured to implement the steps of the ultrasound device image differentiation hierarchical processing method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores a program for image differentiation and layer processing of an ultrasound device, and when the program for image differentiation and layer processing of an ultrasound device is executed by a processor, the steps of the method for image differentiation and layer processing of an ultrasound device according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for realizing ultrasonic image refreshing
CN102323871A