Display method of ultrasound histogram, ultrasound device, storage medium

CN122997743APending Publication Date: 2026-10-30SONOSCAPE MEDICAL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510552065.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

然而,该图层的管理工具主要用作处理采用测量工具绘制的标记(例如测量线),而对于超声直方图未做过多处理,从而导致超声直方图通常只能显示在显示界面内的一个固定位置,超声直方图的操作逻辑十分不灵活

Benefits of technology

[0021]上述技术方案通过为显示界面配置用于显示不同显示内容的非目标图层和目标图层,并将目标超声图像和目标超声直方图分别显示在非目标图层和目标图层中,这可以将目标图层中的超声直方图的显示控制逻辑与非目标图层中的显示内容的显示控制进行解耦,从而可以通过对目标图层的独立管理,以对目标超声直方图进行单独的显示控制。这种显示控制的方式可以灵活控制超声直方图在显示界面中的显示状态,且有助于避免超声直方图的显示状态受到非目标图层的图层状态的干扰。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122997743A_ABST
    Figure CN122997743A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an ultrasound histogram display method, an ultrasound device, and a storage medium. The method comprises: configuring a target layer and a non-target layer on a display interface of the ultrasound device, the target layer and the non-target layer being used to display different display contents, the target layer being used to display an ultrasound histogram corresponding to an ultrasound image, and the non-target layer being used to display other display contents except the ultrasound histogram corresponding to the ultrasound image; acquiring a target ultrasound image and controlling the target ultrasound image to be displayed in the non-target layer; determining a target ultrasound histogram based on pixel values of a region of interest in the target ultrasound image; and controlling the target ultrasound histogram to be displayed in the target layer. This scheme can decouple the display logic of the ultrasound histogram and other display contents, so that the display state of the ultrasound histogram in the display interface can be flexibly controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ultrasonic equipment, and more specifically, to a method for displaying an ultrasonic histogram, an ultrasonic device, a storage medium, and a computer program product. Background Technology

[0002] Ultrasonic images acquired by ultrasound equipment can be output and displayed on the display interface of the display device. Users can use measurement tools to mark regions of interest (ROIs) on the ultrasound images to obtain ultrasound measurement results and an ultrasound histogram reflecting the statistical results of pixel values ​​in the ROIs. Both the ultrasound histogram and the ultrasound measurement results can also be output and displayed on the display interface. Currently, the ultrasound histogram usually shares the same layer with other display content, and its updates depend on the refresh rate and operation method of this layer. However, the management tools for this layer are mainly used to process markers drawn using measurement tools (such as measurement lines), and little processing is done for the ultrasound histogram. This results in the ultrasound histogram typically only being displayed in a fixed position within the display interface, making its operation logic very inflexible. Furthermore, the ultrasound histogram results can only be generated after the markers drawn by the measurement tools have been completed and other ultrasound measurement results have been determined, making the displayed ultrasound histogram relatively static. Summary of the Invention

[0003] The present invention addresses the aforementioned problems. It provides a method for displaying an ultrasound histogram, an ultrasound device, a storage medium, and a computer program product. This approach decouples the ultrasound histogram from the display logic of other displayed content, thereby allowing flexible control over the display state of the ultrasound histogram on the display interface.

[0004] According to one aspect of the present invention, a method for displaying an ultrasound histogram is provided. The method includes: configuring a target layer and a non-target layer on the display interface of an ultrasound device, wherein the target layer and the non-target layer are used to display different display content, the target layer is used to display the ultrasound histogram corresponding to the ultrasound image, and the non-target layer is used to display other display content besides the ultrasound histogram corresponding to the ultrasound image; acquiring a target ultrasound image and controlling the display of the target ultrasound image in the non-target layer; determining a target ultrasound histogram based on the pixel values ​​of the region of interest in the target ultrasound image; and controlling the display of the target ultrasound histogram in the target layer.

[0005] Optionally, determining a target ultrasound histogram based on the pixel values ​​of the region of interest in the target ultrasound image includes: in response to a user's marking operation on the target ultrasound image, displaying measurement markers in a non-target layer, the measurement markers indicating the location of the region of interest in the target ultrasound image; determining the region of interest based on the measurement markers; and determining a target ultrasound histogram for display in the target layer based on the pixel values ​​of the region of interest.

[0006] Optionally, the marking drawing operation includes a custom drawing operation and an adjustment operation. In response to the user's marking drawing operation for the target ultrasound image, the measurement marks are displayed in a non-target layer, including: in response to the user's custom drawing operation, displaying the user-drawn measurement marks in a non-target layer; in response to the user's adjustment operation, adjusting the shape and / or position of the measurement marks currently displayed in the non-target layer; determining the region of interest based on the measurement marks, and determining the target ultrasound histogram for display in the target layer based on the pixel values ​​of the region of interest, including: determining the region of interest in real time based on the measurement marks currently displayed in the non-target layer, and determining the target ultrasound histogram for display in the target layer in real time based on the pixel values ​​of the region of interest.

[0007] Optionally, the measurement marker is a measurement line, which includes at least one preset key point. The custom drawing operation includes setting the initial position of at least one preset key point in the target ultrasound image, and the adjustment operation includes adjusting the position of at least some of the preset key points.

[0008] Optionally, the content displayed in the non-target layer includes the ultrasound measurement results corresponding to the ultrasound image, and the display control operation further includes: determining the target ultrasound measurement results of the region of interest; and controlling the display of the target ultrasound measurement results in the non-target layer.

[0009] Optionally, after controlling the display of the target ultrasound histogram in the target layer, the display control operation further includes: adjusting the position of the target ultrasound histogram in the target layer in response to a user's movement operation of the target ultrasound histogram; and / or, adjusting the display size of the target ultrasound histogram in the target layer in response to a user's scaling operation of the target ultrasound histogram.

[0010] Optionally, the target ultrasound histogram has a corresponding active region. In response to a user's movement operation on the target ultrasound histogram, the position of the target ultrasound histogram in the target layer is adjusted, including: activating the target ultrasound histogram in response to a user's cursor click operation within the active region of the target ultrasound histogram, wherein the activated target ultrasound histogram can move with the cursor; obtaining the offset of the cursor relative to the target ultrasound histogram when the user performs the cursor click operation; moving the cursor and the target ultrasound histogram in response to the user's cursor movement operation, wherein the offset of the cursor relative to the target ultrasound histogram remains unchanged during the movement; and freezing the target ultrasound histogram in response to a subsequent cursor click operation by the user, wherein the position of the frozen target ultrasound histogram in the target layer is determined based on the current position of the cursor in the target layer and the offset.

[0011] Optionally, obtaining the offset of the cursor relative to the target ultrasound histogram when the user performs a cursor click operation includes: mapping the first coordinate of the cursor in the screen coordinate system to the second coordinate in the layer coordinate system when the user performs the cursor click operation, wherein the screen coordinate system is the coordinate system used by the display interface and the layer coordinate system is the coordinate system used by the target layer; determining the offset between the second coordinate of the cursor and the anchor point coordinate of the target ultrasound histogram as the offset of the cursor relative to the target ultrasound histogram, wherein the anchor point coordinate is the coordinate of a preset anchor point in the active area in the layer coordinate system.

[0012] Optionally, after activating the target ultrasound histogram, the display control operation further includes highlighting the activated target ultrasound histogram.

[0013] Optionally, after freezing the target ultrasound histogram, the display control operation further includes: in response to a user's storage operation, storing the current position information and / or appearance style information of the target ultrasound histogram in the target layer.

[0014] Optionally, the display control operation further includes: receiving dirty parameters, which are parameters indicating a change in the display state of the target ultrasound image; filtering the dirty parameters to obtain specific dirty parameters, which are parameters that can cause a change in the display state of the target ultrasound histogram; and updating the target ultrasound histogram displayed in the target layer based on the specific dirty parameters.

[0015] Optionally, the display control operation further includes: in response to the user's scene selection operation, determining the histogram type corresponding to the selected scene from a plurality of preset histogram types as the histogram type of the target ultrasound histogram.

[0016] Optionally, the display control operation also includes: clearing the target ultrasound histogram from the target layer in response to a user's clear operation.

[0017] Optionally, the display control operation is performed by the histogram plugin module. Before the display control operation, the method further includes: loading the histogram plugin module in response to the user's loading operation; after the display control operation, the method further includes: uninstalling the histogram plugin module in response to the user's uninstallation operation; during the display control operation, the method further includes: generating corresponding operation notification information and sending the operation notification information to the histogram plugin module in response to the user's operation on the display content in the target layer and / or non-target layers.

[0018] According to another aspect of the present invention, an ultrasound device is also provided, comprising: a processor and a memory, wherein the memory stores computer program instructions, which are executed by the processor to perform the above-described method for displaying an ultrasound histogram.

[0019] According to another aspect of the present invention, a storage medium is also provided, on which program instructions are stored, which, when executed, are used to perform the above-described method for displaying an ultrasound histogram.

[0020] According to another aspect of the present invention, a computer program product is also provided, including computer program instructions, which, when executed, are used to perform the ultrasound histogram display method as described above.

[0021] The above technical solution configures a non-target layer and a target layer for displaying different content on the display interface, and displays the target ultrasound image and target ultrasound histogram in the non-target layer and target layer respectively. This decouples the display control logic of the ultrasound histogram in the target layer from the display control of the content in the non-target layer. Therefore, by independently managing the target layer, the display control of the target ultrasound histogram can be performed separately. This display control method allows for flexible control of the display state of the ultrasound histogram on the display interface and helps to avoid interference from the layer state of the non-target layer.

[0022] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0023] The above and other objects, features, and advantages of the present invention will become more apparent from the more detailed description of the embodiments of the invention in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same parts or steps.

[0024] Figure 1 A schematic diagram of the display interface for ultrasonic elastography in the related art is shown;

[0025] Figure 2 A schematic diagram of another display interface for ultrasonic elastography in related technologies is shown;

[0026] Figure 3 A schematic flowchart of the display control operation of an ultrasound histogram display method according to an embodiment of the present invention is shown;

[0027] Figure 4 A schematic diagram of a measurement line and a corresponding ultrasonic histogram according to an embodiment of the present invention is shown;

[0028] Figure 5 A schematic diagram illustrating the process of drawing and refreshing an ultrasound histogram according to an embodiment of the present invention is shown;

[0029] Figure 6 A schematic diagram of a target layer and a non-target layer according to an embodiment of the present invention is shown;

[0030] Figure 7 A schematic flowchart illustrating the adjustment of the position of a target ultrasound histogram according to an embodiment of the present invention is shown;

[0031] Figure 8 A schematic diagram of the processing logic for cursor movement events according to an embodiment of the present invention is shown;

[0032] Figure 9 A schematic diagram illustrating the message flow between a user and ultrasound measurement software according to an embodiment of the present invention is shown.

[0033] Figure 10 A schematic diagram illustrating the calculation logic of the offset according to an embodiment of the present invention is shown;

[0034] Figure 11 A schematic diagram showing the display state of an ultrasound histogram according to an embodiment of the present invention is shown;

[0035] Figure 12 A functional schematic diagram of ultrasonic measurement software according to an embodiment of the present invention is shown;

[0036] Figure 13 A schematic diagram of the architecture of ultrasonic measurement software according to an embodiment of the present invention is shown;

[0037] Figure 14 A schematic block diagram of an ultrasonic device according to an embodiment of the present invention is shown. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of the present invention more apparent, exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely a part of the embodiments of the present invention, and not all of the embodiments of the present invention. It should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described herein, all other embodiments obtained by those skilled in the art without inventive effort should fall within the protection scope of the present invention.

[0039] Please see Figure 1 The image shown is a schematic diagram of the display interface for ultrasonic elastography in related technologies. Figure 1The displayed interface shows an ultrasound image 110, a measurement line 1101 within the ultrasound image 110, an ultrasound histogram 120, and other display content such as image acquisition parameters, ultrasound measurement result data, and waveforms representing changes in tissue stiffness over time. The ultrasound image 110 may include a grayscale ultrasound image, and in this example, it may also include an elastography image (typically a color image) obtained using ultrasound elastography. The measurement line 1101 is a closed circular curve, and its interior region is the region of interest. The position of the measurement line 1101 in the grayscale ultrasound image is the same as its position in the elastography image. The ultrasound histogram 120 can represent the statistical results of pixel values ​​within the region of the measurement line 1101. Its type can be a grayscale histogram or an elastography histogram representing the statistical results of grayscale values ​​within the region of the measurement line 1101 obtained from the grayscale ultrasound image, or it can be a regular histogram or an elastography histogram representing the statistical results of color values ​​(e.g., red, green, and blue components) within the region of the measurement line 1101 obtained from the elastography image. During ultrasound measurement, numerous measurement results can be displayed. Furthermore, different measurement modes, measurement items, and methods used to measure ultrasound images will result in different content displayed on the screen. This can lead to overlap between the ultrasound histogram and other displayed content. Please refer to [link / reference]. Figure 2 As shown, this is a schematic diagram of another display interface for ultrasonic elastography in related technologies. Figure 2 The content displayed on the shown interface is compared to Figure 1 The displayed interface shows an addition of ultrasound markers (used to mark specific locations, such as anatomical locations, lesion sites, etc.). However, since the ultrasound histogram shares a layer with other displayed content, and in this example, the positions of both the ultrasound histogram and the ultrasound markers are preset in the lower left corner of the display interface, the ultrasound markers are superimposed on the ultrasound histogram when displayed, making both unclear and affecting the doctor's observation.

[0040] To at least partially solve the above-mentioned technical problems, embodiments of the present invention provide a method for displaying an ultrasound histogram, an ultrasound device, a storage medium, and a computer program product. This solution decouples the display logic of the ultrasound histogram from other display content, thereby allowing flexible control over the display state of the ultrasound histogram in the display interface.

[0041] Please see Figure 3 The diagram shown is a schematic flowchart of the display control operation of an ultrasound histogram display method according to an embodiment of the present invention. According to one aspect of the present invention, a method for displaying an ultrasound histogram is provided. The method includes a display control operation, which specifically includes steps S310, S320, S330, and S340.

[0042] In step S310, a target layer and a non-target layer are configured on the display interface of the ultrasound device. The target layer and the non-target layer are used to display different display content. The target layer is used to display the ultrasound histogram corresponding to the ultrasound image, and the non-target layer is used to display other display content besides the ultrasound histogram corresponding to the ultrasound image.

[0043] For example, the display interface may be an interface displayed on a monitor for ultrasound equipment, and may be configured with multiple layers, including at least one target layer and at least one non-target layer. The target layer and the non-target layer each display different content. For the target layer, it may be used to display ultrasound histograms corresponding to ultrasound images, and optionally display annotation information about the ultrasound histograms, such as the horizontal and vertical axis units of the ultrasound histograms, or the ultrasound histogram number. In a single target layer, the number of displayed ultrasound histograms can be one or more. For the non-target layer, it may display other content besides histograms, such as ultrasound images, and one or more of the following: measurement result data corresponding to the ultrasound images, image acquisition parameters, measurement marks drawn for the ultrasound images, etc. Preferably, the ultrasound images may be displayed separately on a non-target layer, and other content (excluding ultrasound histograms) may be displayed on another non-target layer. Alternatively, the ultrasound image can be displayed separately on a non-target layer, and the measurement markers used to indicate the location of the region of interest in the ultrasound image can be displayed separately on a non-target layer. Other display content besides the ultrasound histogram, measurement markers, and ultrasound image can be displayed separately on a non-target layer.

[0044] In step S320, the target ultrasound image is acquired and controlled to be displayed in the non-target layer.

[0045] For example, the target ultrasound image can be any type of ultrasound image acquired for any body part, such as an elastography image acquired for the thyroid gland, or a grayscale ultrasound image acquired for the brain. The target ultrasound image can be the original acquired image, or it can be an image obtained by preprocessing the original acquired image (e.g., filtering, image enhancement). After acquiring the target ultrasound image, it can be controlled to be displayed at a preset position in a non-target layer.

[0046] In step S330, a target ultrasound histogram is determined based on the pixel values ​​of the region of interest in the target ultrasound image.

[0047] For example, after acquiring the target ultrasound image, the region of interest (ROI) of the target ultrasound image can be determined first. The initial ROI can be set by the user based on the displayed target ultrasound image, or a default preset region in the target ultrasound image can be used as the ROI, for example, a circular region of a preset size located at the center of the target ultrasound image. The target ultrasound histogram of the target ultrasound image can be obtained by statistically analyzing the pixel values ​​within the ROI. For the target ultrasound image, the pixel values ​​can reflect one or more medical evaluation parameters such as the intensity of tissue reflection of ultrasound signals, tissue density, and tissue stiffness. The target ultrasound histogram can include a horizontal axis and a vertical axis; the horizontal axis can represent pixel values ​​or medical evaluation parameters determined based on pixel values, and the vertical axis can represent the number of pixels.

[0048] In step S340, the target ultrasound histogram is displayed in the target layer.

[0049] For example, an initial default position can be preset for the target layer, and the first determined target ultrasound histogram can be displayed at this initial default position. Alternatively, the user can specify an initial position, and the first determined target ultrasound histogram can be displayed at the user-specified initial position. The target ultrasound histogram can be regarded as a specific control, and the display control operations for the target ultrasound histogram are independent of the display control operations for other display content. Specifically, related functions (including histogram drawing functions and histogram adjustment functions) can be integrated and encapsulated into a plug-in module. This avoids the dispersion of control logic for display control operations, and the drawing content of this plug-in module can be concentrated in a specific control, thereby obtaining the target ultrasound histogram displayed on the target layer.

[0050] The above technical solution configures a non-target layer and a target layer for displaying different content on the display interface, and displays the target ultrasound image and target ultrasound histogram in the non-target layer and target layer respectively. This decouples the display control logic of the ultrasound histogram in the target layer from the display control of the content in the non-target layer. Therefore, by independently managing the target layer, the display control of the target ultrasound histogram can be performed separately. This display control method allows for flexible control of the display state of the ultrasound histogram on the display interface and helps to avoid interference from the layer state of the non-target layer.

[0051] Optionally, determining a target ultrasound histogram based on the pixel values ​​of the region of interest in the target ultrasound image includes: in response to a user's marking operation on the target ultrasound image, displaying measurement markers in a non-target layer, the measurement markers indicating the location of the region of interest in the target ultrasound image; determining the region of interest based on the measurement markers; and determining a target ultrasound histogram for display in the target layer based on the pixel values ​​of the region of interest.

[0052] For example, a user can add new measurement markers or adjust existing measurement markers on a non-target layer by performing a marker drawing operation. The added measurement markers can be automatically added to a preset image position in the target ultrasound image according to a preset marker size and shape by the processor used to execute the ultrasound histogram display method of this embodiment, and displayed on the non-target layer. Alternatively, the measurement markers can be added by the user according to their selected region of interest. The user-added measurement markers can be displayed accordingly on the non-target layer. The user can draw one or more measurement markers on the non-target layer for the target ultrasound image using an input device such as a mouse / keyboard / touchpad / trackball, and can also adjust the currently displayed measurement markers. This approach will be described in detail below. For example, a measurement marker can be a filled area, and the position of the region of interest in the target ultrasound image can be represented by the position of this filled area. Alternatively, a measurement marker can be a closed curve, and the position of the region of interest in the target ultrasound image can be represented by the position of the region inside the closed curve. Measurement markers can be, for example, a straight line or a non-closed curve. The location of the region of interest (ROI) in the target ultrasound image can be represented by the position occupied by the straight line or non-closed curve, or by the position occupied by the straight line or non-closed curve and the position occupied by the region near the straight line or non-closed curve. This embodiment of the invention does not specifically limit the shape of the measurement markers. The ROI in the target ultrasound image can be determined based on the measurement markers, and the pixel values ​​within the ROI can be statistically analyzed to generate a target ultrasound histogram for display in the target layer. In other words, the user can draw measurement markers on a non-target layer, and the target layer can display a target ultrasound histogram corresponding to the ROI determined based on the measurement markers on the non-target layer.

[0053] The above technical solution displays measurement markers in a non-target layer and the target ultrasound histogram corresponding to the region of interest determined based on the measurement markers in the target layer. This allows for separate management of the display content of the non-target and target layers, while linking the measurement markers in the display content of the non-target layer with the target ultrasound histogram in the display content of the target layer. This user-layer and layer-to-layer interaction mode helps to ensure that the displayed target ultrasound histogram matches the user's actual needs. Furthermore, the refresh frequency of the non-target layer containing the measurement markers and the refresh frequency of the target layer containing the target ultrasound histogram can be set independently, which helps to control the number of times the target ultrasound histogram is re-rendered.

[0054] Optionally, the marking drawing operation includes a custom drawing operation and an adjustment operation. In response to the user's marking drawing operation for the target ultrasound image, the measurement marks are displayed in a non-target layer, including: in response to the user's custom drawing operation, displaying the user-drawn measurement marks in a non-target layer; in response to the user's adjustment operation, adjusting the shape and / or position of the measurement marks currently displayed in the non-target layer; determining the region of interest based on the measurement marks, and determining the target ultrasound histogram for display in the target layer based on the pixel values ​​of the region of interest, including: determining the region of interest in real time based on the measurement marks currently displayed in the non-target layer, and determining the target ultrasound histogram for display in the target layer in real time based on the pixel values ​​of the region of interest.

[0055] For example, the marker drawing operation can include a custom drawing operation. When a user performs a custom drawing operation on a target ultrasound image, the user-drawn measurement markers can be displayed accordingly on a non-target layer. Custom drawing operations can include one or more operations such as tracing, shape setting, key point setting, and marker selection. For instance, a user can move the cursor to draw one or more trajectory lines on a non-target layer as one or more measurement markers displayed on the non-target layer; the cursor's movement trajectory is the trajectory of the trajectory line. This operation can be considered a tracing operation. As another example, a user can select one or more measurement markers from a set of preset measurement markers and add them to a non-target layer for display. More specifically, the display interface can include a marker bar displaying a set of preset measurement markers with default initial shapes and sizes. A user can click on a measurement marker in the marker bar, adding it to a preset position on the non-target layer. Alternatively, a user can select and activate a measurement marker; the activated marker moves with the cursor, and the user can add the activated marker to a suitable position by moving the cursor. This operation can be considered a marker selection operation. For example, the shape of the measurement marker can be a fixed default shape, or the user can choose a shape from multiple preset shapes (such as rectangles, circles, ellipses, lines, polygons, etc.) as the shape of the measurement marker. The user can draw the corresponding shape of the measurement marker by setting the initial positions of preset key points on the target ultrasound image on the non-target layer. Taking a rectangular measurement marker as an example, the user can set the initial positions of the two diagonal points of the rectangle on the non-target layer to draw a rectangular measurement marker. When the measurement marker has a fixed default shape, the above process may only include key point setting operations; when the shape of the measurement marker is selectable, it may include both shape setting operations and key point setting operations. It is understood that before the user draws the measurement marker for the first time, the non-target layer may not have measurement markers, or it may display measurement markers automatically added by the processor.

[0056] For example, a user can perform adjustment operations on the currently displayed measurement marker to adjust its shape. For instance, the user can stretch the outline of the measurement marker, adjust its curvature, etc. For example, the user can also adjust the position of the currently displayed measurement marker in the target ultrasound image. For example, the user can move the measurement marker using the cursor in the display interface. Alternatively, the position of the measurement marker on a non-target layer can be represented by its coordinates in the coordinate system used in the non-target layer; the user can adjust the coordinates of the measurement marker in the non-target layer to adjust its position. It is understood that when the shape and / or position of the measurement marker changes, the region of interest will also change accordingly. Specifically, during the user's adjustment of the measurement marker, the region of interest can be determined in real time based on the currently displayed measurement marker, thereby allowing the target ultrasound histogram to be determined in real time based on the pixel values ​​of the currently determined region of interest and updated on the target layer. In other words, during the user's adjustment of the measurement marker, the target ultrasound histogram displayed on the target layer can change dynamically in real time. It should be noted that the target ultrasound histogram can be rendered using any rendering tool capable of dynamically updating its content, such as QPainter in the Qt framework. QPainter can be driven by the refresh mechanism of the display interface to update the content of the target ultrasound histogram. Exemplarily, but not restrictively, to ensure the efficiency of the target ultrasound histogram rendering and to prevent lag in its updates, a double-buffering mechanism can be employed. In this mechanism, a front buffer and a back buffer can be constructed. All marking and drawing operations can be performed in the back buffer, and the data generated in the back buffer is complete drawing data. After each marking and drawing operation in the back buffer, the two buffers can be quickly swapped. The front buffer can then display the previously drawn content from the back buffer to the user through the display interface. This minimizes the update time of the display interface, allowing the drawn content to be presented to the user immediately, thus ensuring a smooth visual effect and effectively avoiding the display of images in a chaotic intermediate state due to abnormal data.

[0057] The above technical solution determines the region of interest in real time based on the measurement markers currently displayed in the non-target layer, and determines the target ultrasound histogram to be displayed in the target layer in real time. When the measurement markers are dynamically updated, the target ultrasound histogram can be dynamically updated and displayed synchronously. Furthermore, the refresh of the non-target layer where the measurement markers are located and the target layer where the target ultrasound histogram is located do not affect each other. The update of the target ultrasound histogram has good real-time performance, which helps users to identify relevant ultrasound measurement results in a timely manner by combining the target ultrasound histogram, thus facilitating diagnosis.

[0058] Optionally, the measurement marker is a measurement line, which includes at least one preset key point. The custom drawing operation includes setting the initial position of at least one preset key point in the target ultrasound image, and the adjustment operation includes adjusting the position of at least some of the preset key points.

[0059] For example, the measurement marker can be a measurement line with one or more preset key points. The user can set the initial positions of the preset key points on a non-target layer for the target ultrasound image, and the initial shape and position of the measurement line can be drawn based on these initial positions. The user can also adjust the shape and / or position of the measurement line by adjusting the positions of the preset key points. See also... Figure 4 As shown, it is a schematic diagram of the measurement line and the corresponding ultrasonic histogram according to an embodiment of the present invention. Figure 4 In the illustrated embodiment, the elliptical dashed line represents measurement markers, and the two cross-shaped markers at the endpoints of the ellipse's major axis are two preset key points. The shape and position of the ellipse can be adjusted by changing the position of any of these preset key points. Please refer to [link to documentation]. Figure 5 The diagram illustrates the process of drawing and refreshing an ultrasound histogram according to an embodiment of the present invention. When a user begins measuring a target ultrasound image, the measurement data is first recorded and stored. Based on the recorded and stored measurement data, the target ultrasound histogram (i.e., ...) can be obtained. Figure 5 In the "Histogram Results" section, users can adjust the positions of preset key points by manipulating the measurement markers. During the adjustment process, the displayed target ultrasound histogram can be refreshed synchronously. The completion of the adjustment indicates that the measurement of the target ultrasound image is finished. This drawing and refreshing process can be repeated multiple times.

[0060] In the above technical solution, the measuring line can be used as a measuring mark, and the preset key points of the measuring line can provide the user with operation points for reference when adjusting the measuring mark. The user can quickly adjust the shape and / or position of the measuring mark to the desired shape and / or position.

[0061] Optionally, the content displayed in the non-target layer includes the ultrasound measurement results corresponding to the ultrasound image, and the display control operation further includes: determining the target ultrasound measurement results of the region of interest; and controlling the display of the target ultrasound measurement results in the non-target layer.

[0062] For example, the non-target layer can also display ultrasound measurement results corresponding to ultrasound images. These results may include, for example, the size data of organs or lesion areas within the body, morphological assessment results of organs (normal / abnormal), tissue stiffness, blood flow velocity, and other information. The ultrasound measurement results can be located on the same non-target layer as the measurement markers. When performing display control operations, the target ultrasound measurement results obtained for the region of interest can be determined, and the display of these target ultrasound measurement results on the non-target layer can be controlled. See also... Figure 6 As shown, it is a schematic diagram of a target layer and a non-target layer according to an embodiment of the present invention. In this embodiment, the target ultrasound image (i.e., Figure 6 The "ultrasound image" and the measurement lines can be located on different non-target layers. Figure 6 The dashed line marked with a cross at both ends is shown; the non-target layer containing this line can be designated as the measurement layer. Preferably, the target ultrasound measurement results can be displayed within the measurement layer. The measurement layer can be overlaid on the layer containing the target ultrasound image (i.e., the target layer). Figure 6 The "histogram sublayer" can be overlaid on the measurement layer.

[0063] The above technical solution provides users with richer measurement information by displaying the target ultrasound measurement results on a non-target layer. It also allows for more intuitive analysis of the combined target ultrasound measurement results and target ultrasound histogram, facilitating user diagnosis. Furthermore, the updates of the target layer and the target ultrasound measurement results in the target ultrasound histogram can be performed without interference.

[0064] Optionally, after controlling the display of the target ultrasound histogram in the target layer, the display control operation further includes: adjusting the position of the target ultrasound histogram in the target layer in response to a user's movement operation of the target ultrasound histogram; and / or, adjusting the display size of the target ultrasound histogram in the target layer in response to a user's scaling operation of the target ultrasound histogram.

[0065] For example, a user can perform a movement operation on a target ultrasound histogram displayed in the target layer. It is understood that the prerequisite for performing the movement operation is that the previous measurement is completed and the target ultrasound histogram is drawn. When the target ultrasound histogram overlaps with other displayed content, the user can control the cursor using input devices such as a mouse, trackball, or touchpad to select and activate the target ultrasound histogram so that it follows the cursor's movement on the display interface. The user can adjust the position of the target ultrasound histogram by moving the cursor. After adjusting the target ultrasound histogram to a suitable position, the user can freeze the target ultrasound histogram at that position. The frozen target ultrasound histogram has a fixed position and no longer follows the cursor movement. Please refer to [link to relevant documentation]. Figure 7The diagram shown is a schematic flowchart illustrating the adjustment of the target ultrasound histogram position according to an embodiment of the present invention. Figure 7 In the illustrated embodiment, the target ultrasound histogram is drawn upon completion of the measurement, and the final drawing result can be automatically and fixedly displayed in a default preset position within the target layer. The user can control the cursor focus to fall on the active area of ​​the target ultrasound histogram (i.e.,...). Figure 7 The "histogram control" (as described in the example) allows users to activate the target ultrasound histogram by clicking its active area using an input device. In this embodiment, the cursor can be moved using a trackball to adjust the position of the target ultrasound histogram. After adjusting to a suitable position, clicking the histogram control again will reactivate the target ultrasound histogram, ending the adjustment. It is understood that the movement operation can be performed multiple times, and the position of the same target ultrasound histogram can be adjusted multiple times.

[0066] For example, users can also perform scaling operations on the target ultrasound histogram displayed in the target layer. Similarly, the prerequisite for performing scaling operations is that the previous measurement is completed and the target ultrasound histogram is drawn. Users can perform operations on the target ultrasound histogram according to the actual display situation. For example, when the overlap area between the target ultrasound histogram and other displayed content is small, and slightly adjusting the size of the target ultrasound histogram can separate it from other displayed content, the user can reduce the target ultrasound histogram to its original display ratio. As another example, when the display size of the target ultrasound histogram is inappropriate, it can be scaled to adjust to a suitable display size. Specifically, the active area of ​​the target ultrasound histogram can have a scaling center, which can be defined by the user or set to the center point of the active area by default. The active area of ​​the target ultrasound histogram can have operable points. In some embodiments, after selecting the target ultrasound histogram, the user selects any point on the display interface as an operable point and scales the target ultrasound histogram by moving the operable point. In other embodiments, the midpoints and / or corner points of the active region of the target ultrasound histogram are set as operable points by default. When the user selects the target ultrasound histogram, the default operable points are highlighted, and the user can select one of these operable points to move and scale the target ultrasound histogram. It is understood that during the scaling process of the target ultrasound histogram, the position of the scaling center on the non-target layer remains unchanged, and the distance between the active region of the target ultrasound histogram and the scaling center (excluding the scaling center) is scaled up or down proportionally to the distance between the operable point and the scaling center.

[0067] The aforementioned technical solution adjusts the position of the target ultrasound histogram within the target layer in response to user movement operations. This allows users to move the histogram according to their preferred interface layout, offering high flexibility and improving user experience. Furthermore, when the target ultrasound image overlaps with other displayed content, this solution can move the histogram to a suitable blank space for easier viewing. Additionally, the solution can adjust the display size of the target ultrasound histogram within the target layer in response to user zoom operations. This allows users to adjust the histogram to a suitable size according to their visual preferences, providing high personalization and flexibility. Moreover, when the overlap area between the target ultrasound histogram and other displayed content is small and the user does not wish to change the histogram's position, zooming on the histogram can preserve the current interface layout as much as possible while ensuring the histogram is fully displayed.

[0068] Optionally, the target ultrasound histogram has a corresponding active region. In response to a user's movement operation on the target ultrasound histogram, the position of the target ultrasound histogram in the target layer is adjusted, including: activating the target ultrasound histogram in response to a user's cursor click operation within the active region of the target ultrasound histogram, wherein the activated target ultrasound histogram can move with the cursor; obtaining the offset of the cursor relative to the target ultrasound histogram when the user performs the cursor click operation; moving the cursor and the target ultrasound histogram in response to the user's cursor movement operation, wherein the offset of the cursor relative to the target ultrasound histogram remains unchanged during the movement; and freezing the target ultrasound histogram in response to a subsequent cursor click operation by the user, wherein the position of the frozen target ultrasound histogram in the target layer is determined based on the current position of the cursor in the target layer and the offset.

[0069] For example, the target ultrasound histogram may have an active region, which may include the area occupied by the target ultrasound histogram itself, and may also include the surrounding area near the area occupied by the target ultrasound histogram itself. A user can perform a cursor click operation within the active region of the target ultrasound histogram. In response to the cursor click operation, the target ultrasound histogram is activated. The activated target ultrasound histogram can move with the cursor, and during the movement, the position of the target ultrasound histogram relative to the cursor remains unchanged; that is, the offset of the cursor relative to the target ultrasound histogram remains constant. When the target ultrasound histogram has moved to a suitable position, the user can perform the cursor click operation again to freeze the target ultrasound histogram. The target ultrasound histogram will no longer move with the cursor and will be fixed at the current position. The current position can be determined based on the position of the cursor in the target layer and the position of the target ultrasound histogram relative to the cursor. The position of the target ultrasound histogram relative to the cursor can be represented by the offset of the activated target ultrasound histogram relative to the cursor.

[0070] In the above technical solution, the target ultrasound histogram is activated by clicking the cursor, and then frozen by clicking the cursor again after the target ultrasound histogram has been moved. This allows the user to select and confirm the target ultrasound histogram to be moved and its fixed position, thereby effectively preventing the target ultrasound histogram from moving due to accidental touch.

[0071] Please see Figure 8 The diagram illustrates the processing logic of a cursor movement event according to an embodiment of the present invention. Steps S330 and S340 described above can be executed by the drawing submodule of the histogram plugin module. After the drawing submodule completes the drawing of the histogram data, that is, after controlling the target ultrasound histogram to be displayed in the target layer, the event filters configured in the target layer can capture cursor click events and cursor movement events. It is understood that cursor click events are generated based on the user's cursor click operation, and cursor movement events are generated based on the user's movement operation. When a cursor click event is captured, it can be determined whether the target ultrasound histogram is in an active state. If so, the current active state is adjusted to a frozen state; if not, the current frozen state is adjusted to an active state. When the adjustment is complete, the current cursor click event ends. When a cursor movement event is captured, it can first be determined whether the target ultrasound histogram is in an active state. If so, the position of the target ultrasound histogram is controlled to follow the cursor movement until the target ultrasound histogram is in a frozen state, at which point the cursor movement event can be considered to have ended.

[0072] Please see Figure 9The diagram illustrates the message flow between a user and ultrasound measurement software according to an embodiment of the present invention. The ultrasound histogram display method of this embodiment can be executed by the ultrasound measurement software, and the aforementioned display interface can be the measurement interface of the ultrasound measurement software. The doctor can perform cursor click or movement operations on the measurement layer to draw measurement marks. The cursor click or movement operations performed by the user can generate relevant events. The event filter configured on the measurement layer (which is a non-target layer) can capture these relevant events and send them to the basic measurement module of the ultrasound measurement software to measure the target ultrasound image. The basic measurement module notifies the histogram plugin module (i.e., the histogram drawing plugin) to draw the ultrasound histogram when measurement begins or within a preset time period after measurement begins, and displays the drawing result on the target layer. The drawing result is the target ultrasound histogram. The doctor can view the display effect of the target ultrasound histogram on the display interface. If the doctor is not satisfied with the position of the target ultrasound histogram, they can adjust its position. Users can control the cursor to click on the active area of ​​the target ultrasound histogram on the target layer (i.e., the operable area displayed to the user when clicking the histogram control). The target layer's event filter can capture the corresponding cursor click event and send it to the histogram plugin module, which then activates the target ultrasound histogram. Users can also move the trackball; the target layer's event filter can capture the corresponding cursor movement event and send it to the histogram plugin module. The histogram plugin module can adjust the position of the target ultrasound histogram according to the trackball's position, and this positional change can be displayed on the target layer. When the target ultrasound image is adjusted to the appropriate position, i.e., when the cursor movement ends, the user can perform the cursor click operation again. Correspondingly, the cursor click event can be sent to the histogram drawing plugin, which can freeze the target ultrasound histogram, i.e., "deactivate the adjustment," and display the result of the adjusted target ultrasound histogram on the target layer. The cursor click event ends, and the position adjustment of the target ultrasound histogram is complete.

[0073] It should be noted that during the initialization of the ultrasonic measurement software, when configuring target and non-target layers for the display interface, default basic attribute parameters can also be configured for each layer. These include the coordinate system used by each layer (anchor point coordinates), the effective cursor operation area of ​​the target layer, the conversion method between the cursor's coordinates in the screen coordinate system and the coordinates used by each layer, and the display style of the ultrasonic histogram. For the target layer, the ultrasonic measurement software can complete the state machine transition of the target ultrasonic histogram based on the captured relevant events and the position of the target ultrasonic histogram. It can also display the target ultrasonic histogram according to the corresponding appearance style based on the histogram type set by the user and the current active / frozen state of the target ultrasonic histogram. Specifically, the ultrasonic histogram corresponding to each measurement item can have its own set of appearance styles. In this set of appearance styles, each display style can correspond to a state of the target ultrasonic histogram. Appearance styles can include, for example, size, transparency, and color.

[0074] Optionally, obtaining the offset of the cursor relative to the target ultrasound histogram when the user performs a cursor click operation includes: mapping the first coordinate of the cursor in the screen coordinate system to the second coordinate in the layer coordinate system when the user performs the cursor click operation, wherein the screen coordinate system is the coordinate system used by the display interface and the layer coordinate system is the coordinate system used by the target layer; determining the offset between the second coordinate of the cursor and the anchor point coordinate of the target ultrasound histogram as the offset of the cursor relative to the target ultrasound histogram, wherein the anchor point coordinate is the coordinate of a preset anchor point in the active area in the layer coordinate system.

[0075] For example, the coordinate system used by the cursor is the screen coordinate system, which is also the coordinate system used by the display interface. Each layer has its own coordinate system, and correspondingly, the coordinate system used by the target layer itself can be denoted as the layer coordinate system. When the user performs a cursor click operation, the first coordinate of the cursor in the screen coordinate system can be mapped to the second coordinate in the layer coordinate system, and the offset of the cursor relative to the target ultrasound histogram is calculated by using the second coordinate of the cursor and the anchor point coordinate of the target ultrasound histogram. The anchor point coordinate is the coordinate of the preset anchor point in the active area of ​​the target ultrasound histogram in the layer coordinate system. The preset anchor point can be any point in the active area. Specifically, if the second coordinate obtained by mapping the first coordinate is marked as (x1, y1), and the anchor point coordinate is (x2, y2), then the offset is (x1-x2, y1-y2). If the second coordinate of the cursor is (x3, y3) when the movement ends, then the coordinates of the preset anchor point of the target ultrasound histogram in the screen coordinate system are (x3-x1+x2, y3-y1+y2). Please refer to [link to relevant documentation]. Figure 10The diagram illustrates the calculation logic of offset according to an embodiment of the present invention. When the event filter of the target layer captures the cursor click event (mouseReleaseEvent) corresponding to the cursor click operation, the position of the cursor in the display interface can be obtained. This position is the first coordinate. Converting the first coordinate to the second coordinate in the layer coordinate system allows the calculation of the offset (offSet) relative to the upper left corner anchor point of the target ultrasound histogram. When the cursor move event (mouseMoveEvent) corresponding to the cursor move operation is captured, the first coordinate of the cursor can be obtained and calculated with the offset (offSet) to obtain the new anchor point coordinates of the upper left corner anchor point of the target ultrasound histogram.

[0076] The above technical solution maps the first coordinate of the cursor in the screen coordinate system to the second coordinate in the layer coordinate system used by the target layer, and calculates the offset between the second coordinate of the cursor and the anchor point coordinate of the target ultrasound histogram. Based on simple calculation, the relative position of the cursor and the target ultrasound histogram can be quickly determined, thereby quickly and accurately obtaining the position of the target ultrasound histogram in the target layer.

[0077] Optionally, after activating the target ultrasound histogram, the display control operation further includes highlighting the activated target ultrasound histogram.

[0078] For example, when a target ultrasound histogram is activated, it can be highlighted, for instance, by changing its original color or transparency, or by changing the width of the outline of the target ultrasound histogram (or the activated area). See also... Figure 11 The diagram illustrates the display states of an ultrasound histogram according to an embodiment of the present invention. In the first display interface 1110, both ultrasound histograms are frozen, and their display states are consistent. In the second display interface 1120, the left ultrasound histogram is active, and the outline of its active area is highlighted. In the third display interface 1130, the left ultrasound histogram is moved to the upper left corner of the display interface; it remains active, and the outline of its active area is still highlighted. In the fourth display interface 1140, the moved ultrasound histogram is frozen; at this point, the display states of the two ultrasound histograms are consistent. This method of highlighting the active target ultrasound histogram provides a clear and intuitive indication to the user of the currently operable ultrasound histogram.

[0079] Optionally, after freezing the target ultrasound histogram, the display control operation further includes: in response to a user's storage operation, storing the current position information and / or appearance style information of the target ultrasound histogram in the target layer.

[0080] For example, a user can store the current position information of the target ultrasound histogram within the target layer. This position information can be represented by the coordinates of the target ultrasound histogram's preset anchor point in the layer coordinate system of the target layer. The user can also store the appearance and style information of the target ultrasound histogram, including size, color, and transparency. By storing the position and appearance information of the target ultrasound histogram, the user can directly retrieve the stored information according to their habits and preferences the next time they need to display the ultrasound histogram, thus ensuring that the displayed ultrasound histogram matches the user's habits and preferences.

[0081] Optionally, the display control operation further includes: receiving dirty parameters, which are parameters indicating a change in the display state of the target ultrasound image; filtering the dirty parameters to obtain specific dirty parameters, which are parameters that can cause a change in the display state of the target ultrasound histogram; and updating the target ultrasound histogram displayed in the target layer based on the specific dirty parameters.

[0082] For example, during the execution of display control operations, dirty parameters can be received. Dirty parameters can be viewed as notifications of changes in the basic image parameters of the target ultrasound image, such as freeze notifications for freezing the target ultrasound image, activation notifications for activating the target ultrasound image, image grayscale increase notifications, image depth change notifications, and image scanning mode change notifications. Among these dirty parameters, some will cause changes in the target ultrasound histogram and ultrasound measurement results. By filtering the dirty parameters, specific dirty parameters that can cause changes in the display state of the target ultrasound histogram can be obtained. Based on these specific dirty parameters, the target ultrasound histogram displayed in the target layer can be updated. The above technical solution can update the target ultrasound histogram in a timely manner based on specific dirty parameters when changes are caused by them, thereby making the target ultrasound histogram compatible with the target ultrasound image. On the other hand, by filtering dirty parameters, excessively frequent refreshes of the target ultrasound histogram can be avoided when the display state of the target ultrasound histogram does not need to be changed.

[0083] Optionally, the display control operation further includes: in response to the user's scene selection operation, determining the histogram type corresponding to the selected scene from a plurality of preset histogram types as the histogram type of the target ultrasound histogram.

[0084] For example, users can perform a scene selection operation. Specifically, different ultrasound scanning modes and different measurement tools can be regarded as different scenes, and each scene can correspond to one or more histogram types. Histogram types may include, for example, ordinary histograms, grayscale histograms, elastic histograms (also known as adaptive histogram equalization), bimodal or multimodal histograms, depth correlation histograms, time series histograms, etc. By performing a scene selection operation, users can determine the histogram type corresponding to the selected scene from the preset histogram types, which can be used as the histogram type of the target ultrasound histogram. For example, and not limitingly, the scene selection operation may include custom scenes, in which case users can directly select from the preset histogram types. The above technical solution can flexibly switch the type of the target ultrasound histogram according to the application scenario, thereby meeting the dynamic display needs of different types of data. In a specific embodiment, the instantiation of each type of ultrasound histogram adopts a design pattern combining the strategy pattern and the factory pattern. In the strategy pattern, the logic for drawing each type of ultrasound histogram can be encapsulated as a specific strategy object. By switching strategy objects, different types of ultrasound histograms can be displayed. The factory pattern includes an ultrasound histogram factory, which dynamically creates different types of ultrasound histograms based on the currently used measurement tool. Specifically, each measurement tool corresponds to a set of input parameters. The ultrasound histogram factory instantiates the corresponding strategy object based on these input parameters, and the rendering submodule in the histogram plugin module renders the strategy object into the target ultrasound histogram displayed in the target layer.

[0085] Optionally, the display control operation also includes: clearing the target ultrasound histogram from the target layer in response to a user's clear operation.

[0086] For example, users can also clear the target ultrasound histogram displayed in the target layer. Specifically, a clearing notification generated based on the clearing operation can be sent to the histogram plugin module in real time. Upon receiving the clearing notification, the histogram plugin module can clear the target ultrasound histogram in real time. The clearing operation allows the target ultrasound histogram to be removed when it is not needed, freeing up display area for other content.

[0087] Optionally, the display control operation is performed by the histogram plugin module. Before the display control operation, the method further includes: loading the histogram plugin module in response to the user's loading operation; after the display control operation, the method further includes: uninstalling the histogram plugin module in response to the user's uninstallation operation; during the display control operation, the method further includes: generating corresponding operation notification information and sending the operation notification information to the histogram plugin module in response to the user's operation on the display content in the target layer and / or non-target layers.

[0088] For example, the display control operation can be performed by the histogram plugin module, which can be considered an independent plugin that can be loaded into the ultrasound measurement software used to execute the ultrasound histogram display method of this embodiment. Users can first load the histogram plugin module into the ultrasound measurement software. After the display control operation, users can unload the histogram plugin module from the ultrasound measurement software as needed. During the display control operation, user operations on the displayed content in the target layer and / or non-target layers, such as moving, marking, and clearing, can generate corresponding operation notification information. The histogram plugin module can initially display / update / move / clear the target ultrasound histogram based on the operation notification information. It should be noted that the histogram plugin module does not need to perform the marking operation after receiving the marking operation notification; the marking operation can be performed by the corresponding module of the non-target layer. However, the histogram plugin module can initially display / update the corresponding target ultrasound histogram in response to the marking operation notification. The above technical solution allows users to load or unload the histogram plugin module themselves, and can flexibly choose whether to configure the histogram drawing function in different application scenarios.

[0089] Please see Figure 12 The diagram illustrates the functions of ultrasound measurement software according to an embodiment of the present invention. The ultrasound measurement software may include a basic measurement module and a histogram plugin module. Doctors can directly interact with the basic measurement module; specifically, they can enter a measurement mode to display the corresponding display interface, and can use different measurement tools to measure the target ultrasound image. The display interface can then show the ultrasound measurement results to the doctor accordingly. The histogram plugin module can serve as an extension of the measurement result display function, but it can operate independently of the ultrasound measurement result display. Specifically, the histogram plugin module can draw a target ultrasound histogram (i.e., the histogram result) based on measurement marks drawn using measurement tools, and can also adjust the position of the target ultrasound histogram control in response to the doctor's movement.

[0090] Please see Figure 13The diagram shows the architecture of ultrasound measurement software according to an embodiment of the present invention. The ultrasound measurement software may include an interactive entry point (hereinafter referred to as the measurement entry point) for a basic measurement module open to the user. The measurement entry point may include measurement buttons and a measurement menu. When the user scans the desired lesion location, the measurement module can confirm the relevant values ​​of the lesion location (e.g., depth, length, area, volume, flow rate, flow volume, etc.). The measurement buttons can be used to activate / freeze the measurement operation; the measurement menu is used to select the corresponding measurement tool. It is understood that the measurement entry point depends on the corresponding measurement layer displayed to the user. The ultrasound measurement software may also include a measurement result management module and a histogram plugin module. The measurement result management module can be used to manage the target ultrasound measurement results displayed in the measurement layer, and the histogram plugin module can be used to execute steps S310 to S340 in the above-mentioned display control operation. The histogram plugin module may include a management submodule and a drawing submodule. The management submodule can interact with other submodules / modules based on observer mode, thereby controlling the drawing submodule to complete the drawing of the target ultrasound histogram. Figure 13 In the illustrated embodiment, the display and management of the target layer by the drawing submodule can be implemented using QGraphicsWidget. The backend of the basic measurement module (i.e., the underlying measurement framework) may include a measurement tool configuration module and a measurement data generation / storage module. It is understood that the displayed target ultrasound measurement results and target ultrasound histogram depend on the measurement tool and the corresponding measurement data.

[0091] Please see Figure 14 As shown, it is a schematic block diagram of an ultrasound device 1400 according to an embodiment of the present invention. According to another aspect of the present invention, an electronic device is also provided, including: a processor 1410 and a memory 1420, wherein the memory 1420 stores computer program instructions, which are executed by the processor 1410 to perform the above-described method for displaying an ultrasound histogram.

[0092] According to another aspect of the present invention, a storage medium is also provided, on which program instructions are stored. When the program instructions are executed by a computer or processor, the computer or processor performs corresponding steps of the ultrasonic histogram display method described in the embodiments of the present invention, and is used to implement corresponding modules in the ultrasonic measurement software described in the embodiments of the present invention, or corresponding modules in the ultrasonic measurement software described above. The storage medium may, for example, include a memory card of a smartphone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. A computer-readable storage medium may be any combination of one or more computer-readable storage media.

[0093] According to another aspect of the present invention, a computer program product is also provided, including computer program instructions, which, when executed, are used to perform the ultrasound histogram display method as described above.

[0094] Those skilled in the art can understand the specific implementation and beneficial effects of the above-mentioned ultrasonic measurement software by reading the detailed description of the ultrasonic histogram display method. For the sake of brevity, it will not be described in detail here.

[0095] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of the invention. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of the invention. All such changes and modifications are intended to be included within the scope of the invention as claimed in the appended claims.

[0096] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0097] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.

[0098] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0099] Similarly, it should be understood that, in order to streamline the invention and aid in understanding one or more of the various aspects of the invention, features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the description of exemplary embodiments of the invention. However, this approach should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the corresponding claims, its inventive point lies in solving the corresponding technical problem with fewer features than all of those in a single disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0100] Those skilled in the art will understand that, apart from the mutual exclusion of features, all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or apparatus so disclosed can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0101] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments can be used in any combination.

[0102] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules in the ultrasonic measurement software according to embodiments of the present invention. The present invention can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing some or all of the methods described herein. Such programs implementing the present invention can be stored on a computer-readable medium or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0103] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0104] The above are merely specific embodiments or descriptions of the present invention, and the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. The scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for displaying an ultrasound histogram, characterized in that, The method includes the following display control operations: On the display interface of the ultrasound device, a target layer and a non-target layer are configured. The target layer and the non-target layer are used to display different display content. The target layer is used to display the ultrasound histogram corresponding to the ultrasound image, and the non-target layer is used to display other display content besides the ultrasound histogram corresponding to the ultrasound image. Acquire a target ultrasound image and control the display of the target ultrasound image in the non-target layer; The target ultrasound histogram is determined based on the pixel values ​​of the region of interest in the target ultrasound image. The target ultrasound histogram is controlled to be displayed in the target layer.

2. The method according to claim 1, characterized in that, Determining the target ultrasound histogram based on the pixel values ​​of the region of interest in the target ultrasound image includes: In response to a user's marking operation on a target ultrasound image, measurement markers are displayed in the non-target layer, the measurement markers indicating the location of the region of interest in the target ultrasound image; The region of interest is determined based on the measurement markers, and the target ultrasound histogram for display in the target layer is determined based on the pixel values ​​of the region of interest.

3. The method according to claim 2, characterized in that, The marking operation includes a custom marking operation and an adjustment operation. The step of displaying measurement marks in the non-target layer in response to the user's marking operation on the target ultrasound image includes: In response to a user's custom drawing operation, the measurement markers drawn by the user are displayed in the non-target layer; In response to the user's adjustment operation, adjust the shape and / or position of the measurement mark currently displayed in the non-target layer; The step of determining the region of interest based on the measurement markers and determining the target ultrasound histogram for display in the target layer based on the pixel values ​​of the region of interest includes: The region of interest is determined in real time based on the measurement markers currently displayed in the non-target layer, and the target ultrasound histogram for display in the target layer is determined in real time based on the pixel values ​​of the region of interest.

4. The method according to claim 3, characterized in that, The measurement marker is a measurement line, the measurement line includes at least one preset key point, the custom drawing operation includes setting the initial position of the at least one preset key point in the target ultrasound image, and the adjustment operation includes adjusting the position of at least some of the preset key points.

5. The method according to claims 1-4, characterized in that, The non-target layer is used to display content including ultrasound measurement results corresponding to ultrasound images, and the display control operation further includes: Determine the target ultrasonic measurement results for the region of interest; The target ultrasound measurement results are displayed in the non-target layer.

6. The method according to claims 1-4, characterized in that, After controlling the display of the target ultrasound histogram in the target layer, the display control operation further includes: In response to a user's movement operation on the target ultrasound histogram, adjust the position of the target ultrasound histogram within the target layer; and / or, In response to a user's zoom operation on the target ultrasound histogram, the display size of the target ultrasound histogram in the target layer is adjusted.

7. The method according to claim 6, characterized in that, The target ultrasound histogram has a corresponding active region. Adjusting the position of the target ultrasound histogram within the target layer in response to a user's movement operation on the target ultrasound histogram includes: In response to a user's cursor click operation within the active area of ​​the target ultrasound histogram, the target ultrasound histogram is activated, wherein the activated target ultrasound histogram can follow the cursor movement; Obtain the offset of the cursor relative to the target ultrasound histogram when the user performs the cursor click operation; In response to the user's cursor movement operation, the cursor and the target ultrasound histogram are moved, and during the movement, the offset of the cursor relative to the target ultrasound histogram remains unchanged; In response to the user's repeated cursor click operation, the target ultrasound histogram is frozen; the position of the frozen target ultrasound histogram in the target layer is determined based on the current position of the cursor in the target layer and the offset.

8. The method according to claim 7, characterized in that, The step of obtaining the offset of the cursor relative to the target ultrasound histogram when the user performs the cursor click operation includes: When the user performs the cursor click operation, the first coordinate of the cursor in the screen coordinate system is mapped to the second coordinate in the layer coordinate system. The screen coordinate system is the coordinate system used by the display interface, and the layer coordinate system is the coordinate system used by the target layer. The offset between the second coordinate of the cursor and the anchor point coordinate of the target ultrasound histogram when the user performs the cursor click operation is determined as the offset of the cursor relative to the target ultrasound histogram, and the anchor point coordinate is the coordinate of the preset anchor point in the active area in the layer coordinate system.

9. The method according to claim 8, characterized in that, After activating the target ultrasound histogram, the display control operation further includes: The target ultrasound histogram that is in an active state is highlighted.

10. The method according to claim 7, characterized in that, After freezing the target ultrasound histogram, the display control operation further includes: In response to a user's storage operation, the current position information and / or appearance style information of the target ultrasound histogram in the target layer are stored.

11. The method according to any one of claims 1-4, characterized in that, The display control operation also includes: Receive dirty parameters, which are parameters indicating changes in the display state of the target ultrasound image; The dirty parameters are filtered to obtain specific dirty parameters, which are parameters that can cause changes in the display state of the target ultrasound histogram; The target ultrasound histogram displayed in the target layer is updated based on the specific organ parameters.

12. The method according to any one of claims 1-4, characterized in that, The display control operation also includes: In response to the user's scene selection operation, the histogram type corresponding to the selected scene is determined from a plurality of preset histogram types as the histogram type of the target ultrasound histogram.

13. The method according to any one of claims 1-4, characterized in that, The display control operation also includes: In response to the user's clearing operation, the target ultrasound histogram is cleared from the target layer.

14. The method according to any one of claims 1-4, characterized in that, The display control operation is performed by the histogram plugin module. Prior to the display control operation, the method further includes: In response to the user's loading action, the histogram plugin module is loaded; Following the display control operation, the method further includes: In response to the user's uninstallation operation, the histogram plugin module is uninstalled; During the display control operation, the method further includes: In response to user operations on the display content in the target layer and / or the non-target layer, a corresponding operation notification message is generated and sent to the histogram plugin module.

15. An ultrasonic device, comprising a processor and a memory, characterized in that, The memory stores computer program instructions, which, when executed by the processor, are used to perform the method for displaying an ultrasound histogram as described in any one of claims 1-14.

16. A storage medium on which program instructions are stored, characterized in that, The program instructions, when executed, are used to perform the method for displaying an ultrasound histogram as described in any one of claims 1-14.

17. A computer program product comprising computer program instructions, characterized in that, The computer program instructions, when executed, are used to perform the method for displaying an ultrasound histogram as described in any one of claims 1-14.