Method and device for displaying region of interest in medical image and electronic equipment
By adjusting the bounding box and organization model in medical images to match the area of interest and determining the axis as the preset position point, the problem that users find it difficult to observe the area of interest in a three-dimensional mannequin is solved, and human-computer interaction is improved Intelligence.
Patent Information
- Application Number
- CN202310943660.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2025-02-14
AI Technical Summary
In medical images, it is difficult for users to intelligently observe the area of interest in a three-dimensional human body model, and it is easy to cause the area of interest to shift out of the observation area.
Provide a method for displaying the region of interest in a medical image. By responsive to the bounding box generation operation, the bounding box corresponding to the organization model is displayed in the preset area of the interactive interface, and adjusting the bounding box in response to the selection operation of the region of interest. so that the area of interest is located within the bounding box. When the selection operation meets the preset conditions, adjust the bounding box and the organization model as a whole to make the bounding box located in the preset area and determine that the axis of the organization model is the preset position point within the area of interest.
The human-computer interaction intelligence when displaying the area of interest in medical images is improved, allowing users to observe the area of interest more intuitively and avoid the problem that the area of interest is shifted out of the area of interest.
Smart Images

Figure CN119446438A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical imaging, and in particular to a method, device, electronic device, storage medium and computer program product for displaying a region of interest in a medical image. Background Art
[0002] In the field of medical imaging, when doctors view three-dimensional images of tissues in the patient's body, they often pay more attention to the region of interest and the blood vessels and nerve fiber tissues around the region of interest, and hope to be able to intuitively see the situation around the region of interest through three-dimensional images.
[0003] When users use the three-dimensional human body model browsing products currently on the market to conduct all-round observation of the area of interest, they need to move the human body model back and forth, which not only has many steps and is cumbersome, but also makes it easy for the selected area of interest to deviate from the observation area.
[0004] Therefore, the related technology has the problem of insufficient intelligence in human-computer interaction when displaying the region of interest in the medical image. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device, electronic device, computer-readable storage medium and computer program product for displaying regions of interest in medical images, which can improve the intelligence of human-computer interaction when displaying regions of interest in medical images, in order to address the above technical problems.
[0006] In a first aspect, the present application provides a method for displaying a region of interest in a medical image. The method comprises:
[0007] In response to the bounding box generation operation, a bounding box corresponding to the organizational model is displayed in a preset area of an interactive interface; wherein the organizational model is displayed in advance on the interactive interface;
[0008] In response to a selection operation on a region of interest in the tissue model, adjusting the bounding box so that the region of interest is located within the bounding box;
[0009] When the selection operation satisfies a preset condition, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area, and the axis of the tissue model is determined as a preset position point in the region of interest.
[0010] In one embodiment, after the response to the selection operation on the region of interest in the tissue model, the method further includes:
[0011] The tissue model outside the bounding box is not displayed.
[0012] In one of the embodiments, the tissue model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, and the preset position point is the center point of the region of interest.
[0013] In one embodiment, adjusting the bounding box so that the region of interest is located within the bounding box includes:
[0014] The bounding box is moved and reduced until the region of interest is within the bounding box and the size of the bounding box matches the size of the region of interest.
[0015] In one embodiment, adjusting the bounding box and the tissue model as a whole so that the bounding box is located in the preset area includes:
[0016] The bounding box and the tissue model are taken as a whole, and the whole is moved and enlarged until the bounding box is located in the preset area.
[0017] In one embodiment, the method further comprises:
[0018] Obtaining a difference between a time in response to the selection operation and a current time;
[0019] If the difference is greater than the preset time value, it is determined that the selection operation meets the preset condition.
[0020] In one embodiment, the bounding box is a sphere.
[0021] In one embodiment, the method further comprises:
[0022] In response to a bounding box adjustment operation, the size of the bounding box is adjusted.
[0023] In one embodiment, the method further comprises:
[0024] In response to the bounding box hiding operation, the bounding box is undisplayed.
[0025] In a second aspect, the present application also provides a method for displaying a region of interest in a medical image. The method comprises:
[0026] In response to the bounding box generation operation, a bounding box corresponding to the organizational model is displayed in a preset area of an interactive interface; wherein the organizational model is displayed in advance on the interactive interface;
[0027] In response to a selection operation on a region of interest in the tissue model, the bounding box is adjusted so that the region of interest is located within the bounding box.
[0028] In one embodiment, the method further comprises:
[0029] Adjusting the bounding box and the tissue model as a whole so that the bounding box is located in the preset area; or,
[0030] In a case where the selection operation satisfies a preset condition, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area.
[0031] In one embodiment, the method further comprises:
[0032] Determine the axis of the tissue model as a preset position point in the region of interest; or,
[0033] When the selection operation satisfies a preset condition, the axis of the tissue model is determined as a preset position point in the region of interest.
[0034] In a third aspect, the present application also provides a device for displaying a region of interest in a medical image. The device comprises:
[0035] A display module, configured to display a bounding box corresponding to the organizational model in a preset area of an interactive interface in response to a bounding box generation operation; wherein the organizational model is pre-displayed on the interactive interface;
[0036] an adjusting module, configured to adjust the bounding box in response to a selection operation on the region of interest in the tissue model so that the region of interest is located within the bounding box;
[0037] A determination module is used to adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area and the axis of the tissue model is determined as a preset position point in the region of interest when the selection operation meets the preset conditions.
[0038] In a fourth aspect, the present application also provides a device for displaying a region of interest in a medical image. The device comprises:
[0039] A display module, configured to display a bounding box corresponding to the organizational model in a preset area of an interactive interface in response to a bounding box generation operation; wherein the organizational model is pre-displayed on the interactive interface;
[0040] An adjustment module is used for adjusting the bounding box in response to a selection operation on the region of interest in the tissue model so that the region of interest is located within the bounding box.
[0041] In a fifth aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for displaying a region of interest in a medical image as described in the first aspect and / or the steps of the method for displaying a region of interest in a medical image as described in the second aspect when executing the computer program.
[0042] In a sixth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for displaying a region of interest in a medical image as described in the first aspect and / or the steps of the method for displaying a region of interest in a medical image as described in the second aspect are implemented.
[0043] In a seventh aspect, the present application further provides a computer program product. The computer program product includes a computer program, which, when executed by a processor, implements the steps of the method for displaying a region of interest in a medical image as described in the first aspect, and / or the steps of the method for displaying a region of interest in a medical image as described in the second aspect.
[0044] The above-mentioned method, device, electronic device, storage medium and computer program product for displaying the region of interest in the medical image display the bounding box corresponding to the tissue model in a preset area of the interactive interface in response to the bounding box generation operation; wherein the interactive interface pre-displays the tissue model; in response to the selection operation on the region of interest in the tissue model, the bounding box is adjusted so that the region of interest is located within the bounding box; when the selection operation meets the preset conditions, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area, and the axis of the tissue model is determined as the preset position point within the region of interest.
[0045] In this way, in response to the selection operation on the region of interest in the tissue model, the region of interest in the tissue model is located within the bounding box, so that the bounding box focuses on the region of interest, and when the selection operation meets the preset conditions, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area. Therefore, not only can the user see the selected region of interest more intuitively on the tissue model, but also, when the selection operation meets the preset conditions, it is determined that the user's selection operation on the region of interest in the tissue model is effective, so as to avoid the situation where the bounding box is immediately located in the preset area after the user performs the selection operation, making it difficult for the user to visually perceive whether the lesion site has been selected, thereby preventing the user from violently clicking to select the region of interest, and also improving the user's perception, and effectively improving the intelligence of human-computer interaction when displaying the region of interest in the medical image.
[0046] In addition, when the selection operation meets the preset conditions, the axis of the tissue model is determined as the preset position point in the region of interest, so that the rotation and scaling operations of the tissue model are all performed around the preset position point in the region of interest, and the region of interest will always be in the bounding box during rotation, that is, when the user rotates and scales the tissue model, it can be ensured that the region of interest and the bounding box are around the preset position point in the region of interest, avoiding the need to move the tissue model back and forth when performing all-round rotation and scaling observation of the region of interest in the related technology, which has many and cumbersome operation steps and easily causes the region of interest to deviate from the observation area of the interactive interface, thereby allowing users to observe the region of interest in the medical image more focused and clearly, further improving the intelligence of human-computer interaction when displaying the region of interest in the medical image. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 is a schematic flow chart of a method for displaying a region of interest in a medical image in one embodiment;
[0048] Figure 2 is a schematic flow chart of another method for displaying a region of interest in a medical image in one embodiment;
[0049] Figure 3 A schematic flow chart of a method for displaying a region of interest in a medical image using a safety bounding sphere in one embodiment;
[0050] Figure 4 A schematic flow chart of a method for displaying a region of interest in a medical image using a 3D safety bounding sphere in one embodiment;
[0051] Figure 5 is a schematic diagram showing that a rendered lesion area is located within a circular area in an embodiment;
[0052] Figure 6 is a schematic flow chart of a method for displaying a region of interest in a medical image in another embodiment;
[0053] Figure 7 is a structural block diagram of a device for displaying a region of interest in a medical image in one embodiment;
[0054] Figure 8 is a structural block diagram of another device for displaying a region of interest in a medical image in one embodiment;
[0055] Fig. 9 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0058] In one embodiment, Figure 1 As shown, a method for displaying a region of interest in a medical image is provided. This embodiment takes the method applied to an electronic device as an example. The electronic device may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The portable wearable device may be a head-mounted device, etc. In this embodiment, the method includes the following steps:
[0059] Step S110 , in response to the bounding box generation operation, displaying a bounding box corresponding to the tissue model in a preset area of the interactive interface.
[0060] The interactive interface displays an organizational model in advance.
[0061] The tissue model may be a three-dimensional virtual model of the human body's in vivo tissue, and may be used to display the structure of the human body's in vivo tissue in three dimensions.
[0062] Among them, the interactive interface can be a three-dimensional model observation interface.
[0063] The bounding box generation operation is an operation in which a user controls the electronic device to perform a bounding box generation function.
[0064] The bounding box may support at least two modes. For example, a three-dimensional mode and a two-dimensional mode may be supported. The three-dimensional mode may be a three-dimensional bounding box that generates a preset three-dimensional shape; the two-dimensional mode may be a two-dimensional bounding box that generates a preset two-dimensional shape based on the plane where the two-dimensional screen is located.
[0065] In practical applications, the preset three-dimensional shape may be a sphere, and the preset two-dimensional shape may be a circle. It is understandable that the preset three-dimensional shape and the preset two-dimensional shape may also be other shapes, which are not specifically limited here.
[0066] In a specific implementation, a tissue model is pre-displayed in the interactive interface provided by the electronic device. The tissue model may be a tissue model selected by the user from a list of human tissue models loaded in the interactive interface, or may be a tissue model displayed by default. In order to facilitate observation of the region of interest in the tissue model, the user may click on the bounding box generation entry provided by the interactive interface to input a bounding box generation operation for the tissue model into the electronic device. After receiving the bounding box generation operation, the electronic device may activate the bounding box generation function in response to the bounding box generation operation to display the bounding box corresponding to the tissue model in a preset area of the interactive interface.
[0067] The preset area of the interactive interface may be a central area on the interactive interface, or may be other areas on the interactive interface.
[0068] Among them, the boundary box displayed in the preset area of the interactive interface can completely overlap with the preset area.
[0069] Step S120 , in response to a selection operation on the region of interest in the tissue model, adjusting the bounding box so that the region of interest is located within the bounding box.
[0070] The region of interest may be a region in the tissue model where a part that the user needs to focus on observing is located. In practical applications, the part may be a lesion site.
[0071] In a specific implementation, a user can select an area of interest for the organizational model in the interactive interface to input a selection operation for the area of interest in the organizational model to the electronic device, so that the electronic device can adjust the bounding box in response to the selection operation after receiving the selection operation, so that the bounding box surrounds the area of interest selected by the user, so that the area of interest can be located within the bounding box.
[0072] Furthermore, the electronic device may adjust the bounding box until the adjusted bounding box just surrounds the region of interest selected by the user, and then stop the adjustment operation.
[0073] Among them, when the adjusted bounding box is the minimum circumscribed box corresponding to the region of interest, it is determined that the adjusted bounding box just surrounds the region of interest selected by the user. For example, when the shape of the bounding box is circular, when the adjusted bounding box is the minimum circumscribed circle corresponding to the region of interest, it is determined that the adjusted bounding box just surrounds the region of interest selected by the user; when the shape of the bounding box is spherical, when the adjusted bounding box is the minimum circumscribed sphere corresponding to the region of interest, it is determined that the adjusted bounding box just surrounds the region of interest selected by the user; when the shape of the bounding box is rectangular, when the adjusted bounding box is the minimum circumscribed rectangle corresponding to the region of interest, it is determined that the adjusted bounding box just surrounds the region of interest selected by the user.
[0074] Among them, the interactive interface can provide a part list composed of different parts in the tissue model, and each part corresponds to a preset area in the tissue model. In this way, when the user selects the area of interest for the tissue model in the interactive interface, the user can click on the part to be focused on in the part list (this part can be used as the target part) to input the selection operation for the area of interest in the tissue model to the electronic device, and the preset area corresponding to the target part in the tissue model is the area of interest.
[0075] In addition, the user can also select the target part on the tissue model displayed in the interactive interface to input the selection operation of the area of interest in the tissue model to the electronic device, so that the electronic device can use the area containing the target part selected by the user as the area of interest.
[0076] The region of interest may include the target site itself, blood vessels and nerve fiber tissues around the target site.
[0077] Step S130, when the selection operation meets the preset conditions, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area, and the axis of the tissue model is determined as a preset position point in the region of interest.
[0078] In order to facilitate the user to observe the region of interest more attentively, the preset position point may be the center point in the region of interest. It is understandable that the preset position point may also be other points in the region of interest, which is not specifically limited here.
[0079] The axis of the tissue model may be an axis used to control the rotation and scaling operations of the tissue model.
[0080] In a specific implementation, when the selection operation meets the preset conditions, the electronic device can determine that the user's selection operation on the region of interest in the tissue model is effective, and adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area. When the preset area is the central area on the interactive interface, the bounding box and the tissue model are adjusted as a whole so that the bounding box surrounding the region of interest is located in the central area of the interactive interface, so that the user's attention can be more focused on the region of interest located in the center of the interface and within the bounding box, which is conducive to the user to observe the region of interest in the medical image more attentively and clearly, and effectively improves the intelligence when displaying the region of interest in the medical image.
[0081] At the same time, the axis of the overall tissue model can be adjusted from the current position to a preset position point in the region of interest. The current position can be the center point of the tissue model. In this way, when the preset area is the central area on the interactive interface, the axis of the tissue model is adjusted to the preset position point in the region of interest, which not only allows the rotation and scaling operations of the tissue model to be performed in the central area of the interactive interface, but also ensures that when the user rotates and scales the tissue model, the region of interest and the bounding box are performed around the preset position point in the region of interest, further facilitating the user to observe the region of interest.
[0082] In the above-mentioned method for displaying a region of interest in a medical image, in response to a selection operation on a region of interest in a tissue model, the region of interest in the tissue model is located within a bounding box, so that the bounding box focuses on the region of interest, and when the selection operation meets a preset condition, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area. Thus, not only can the user see the selected region of interest more intuitively on the tissue model, but also, when the selection operation meets the preset condition, it is determined that the user's selection operation on the region of interest in the tissue model is effective, so as to avoid the situation where the bounding box is immediately located in the preset area after the user performs the selection operation, making it difficult for the user to visually perceive whether the lesion site has been selected, thereby preventing the user from violently clicking to select the region of interest, and also improving the user's perception, and effectively improving the intelligence of human-computer interaction when displaying the region of interest in the medical image.
[0083] In addition, when the selection operation meets the preset conditions, the axis of the tissue model is determined as the preset position point in the region of interest, so that the rotation and scaling operations of the tissue model are all performed around the preset position point in the region of interest, and the region of interest will always be in the bounding box during rotation, that is, when the user rotates and scales the tissue model, it can be ensured that the region of interest and the bounding box are around the preset position point in the region of interest, avoiding the need to move the tissue model back and forth when performing all-round rotation and scaling observation of the region of interest in the related technology, which has many and cumbersome operation steps and easily causes the region of interest to deviate from the observation area of the interactive interface, thereby allowing users to observe the region of interest in the medical image more focused and clearly, further improving the intelligence of human-computer interaction when displaying the region of interest in the medical image.
[0084] In one embodiment, in response to a selection operation on the region of interest in the tissue model, the method further comprises: canceling the display of the tissue model located outside the bounding box.
[0085] In a specific implementation, after responding to the selection operation on the region of interest in the tissue model, the electronic device may cancel the display of the tissue model outside the bounding box. At the same time, the electronic device may also perform three-dimensional morphological rendering on the region of interest within the bounding box to obtain a rendered region of interest, so that the user can observe the region of interest more clearly and comprehensively.
[0086] Among them, when the bounding box is in two-dimensional mode, the electronic device can crop the projection of the tissue model on the two-dimensional screen using a preset two-dimensional shape (the tissue model outside the two-dimensional shape of the screen is not rendered, and only the tissue model within the two-dimensional shape is rendered).
[0087] For example, when the shape of the bounding box is a circle in a two-dimensional mode, the electronic device can use the circle to crop the projection of the tissue model on the two-dimensional screen (the tissue model outside the circular area of the screen is not rendered, and only the tissue model within the circular area is rendered).
[0088] In the process of the electronic device canceling the display of the tissue model located outside the boundary box, the electronic device can discard the tissue fragments of the tissue model outside the boundary box to hide the tissue model outside the boundary box, thereby achieving the effect of canceling the display of the tissue model located outside the boundary box.
[0089] The technical solution of this embodiment cancels the display of the tissue model outside the bounding box after responding to the selection operation of the region of interest in the tissue model. In this way, by only displaying the region of interest in the tissue model within the bounding box, the user can view the region of interest more attentively and intuitively, and prevents the tissue model outside the bounding box from causing visual interference to the user's viewing of the region of interest, effectively improving the intelligence of displaying the region of interest in the medical image. In addition, since there is no need to display the tissue model outside the bounding box, there is no need to render and display the tissue model outside the bounding box, effectively reducing the amount of rendering calculation.
[0090] In one embodiment, adjusting the bounding box includes: scaling the size of the bounding box; and / or moving the bounding box.
[0091] Scaling the size of the bounding box may refer to keeping the center point of the bounding box unchanged and synchronously reducing or enlarging the size of the bounding box.
[0092] Moving the bounding box may refer to moving the center point of the bounding box to drive the entire bounding box to move, while keeping the size of the bounding box unchanged.
[0093] In a specific implementation, when the electronic device adjusts the bounding box so that the region of interest is within the bounding box, the electronic device may scale the size of the bounding box and / or move the bounding box toward the location of the region of interest so that the region of interest is within the bounding box.
[0094] Specifically, the two operations of scaling the size of the bounding box and moving the bounding box can be performed simultaneously until the region of interest is within the bounding box. In practical applications, the scaling and moving operations can be stopped when the center position of the space surrounded by the bounding box coincides with a preset position point within the region of interest, and the region of interest is within the bounding box. Further, the scaling and moving operations can be stopped when the center point of the bounding box coincides with a preset position point within the region of interest, and the region of interest is just within the bounding box (i.e., the bounding box just surrounds the region of interest).
[0095] It is understandable that the electronic device may also only scale the size of the bounding box until the bounding box can surround the region of interest so that the region of interest is located within the bounding box. For example, in response to the bounding box generation operation, when the distance between the bounding box initially generated and the region of interest selected by the user is less than a preset distance threshold, it can be determined that the distance between the bounding box initially generated and the region of interest selected by the user is closer. Thus, when the distance is closer, only the size of the bounding box can be scaled until the bounding box can surround the region of interest. Furthermore, the scaling can be stopped when the bounding box just surrounds the region of interest.
[0096] It is understandable that if the space surrounded by the generated bounding box can accommodate the region of interest, the electronic device can only move the bounding box to the location of the region of interest until the moved bounding box can surround the region of interest, so that the region of interest is located within the bounding box. Furthermore, if the space surrounded by the generated bounding box can just accommodate the region of interest, the electronic device can only move the bounding box to the location of the region of interest until the moved bounding box just surrounds the region of interest and stops moving.
[0097] The technical solution of this embodiment can improve the diversity of ways to ensure that the region of interest is within the bounding box by scaling the size of the bounding box; and / or moving the bounding box, and can make the bounding box focus on the region of interest, so that the user can see the selected region of interest more intuitively on the tissue model, effectively improving the intelligence of human-computer interaction when displaying the region of interest in the medical image.
[0098] In one embodiment, the tissue model pre-displayed in the interactive interface is located within a bounding box displayed in response to the bounding box generation operation, and the preset location point is the center point of the region of interest.
[0099] In a specific implementation, the tissue model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, and the preset position point in the region of interest can be the center point of the region of interest. In this way, when the preset position point is the center point of the region of interest, and the preset area is the center area on the interactive interface, the axis of the overall tissue model is adjusted from the current position to the center point of the region of interest, which not only allows the rotation and scaling operations of the tissue model to be performed in the center area of the interactive interface, but also ensures that when the user rotates and scales the tissue model, the region of interest and the bounding box are performed around the center point in the region of interest. In this way, the user's attention can be more focused on the region of interest after rotation and scaling, so that the user can more attentively and clearly observe the region of interest after rotation and scaling.
[0100] In which, when the tissue model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, the bounding box is adjusted so that the area of interest is located within the bounding box, including: moving and shrinking the bounding box until the area of interest is located within the bounding box and the size of the bounding box matches the size of the area of interest.
[0101] In a specific implementation, when the organizational model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, since the size of the initially generated bounding box is large enough to accommodate the entire organizational model, when the electronic device adjusts the bounding box so that the area of interest is located within the bounding box, the electronic device can move the bounding box toward the location of the area of interest and reduce the size of the bounding box at the same time until the area of interest is within the bounding box and the size of the bounding box matches the size of the area of interest.
[0102] In the case where the region of interest is just within the bounding box, it is determined that the size of the bounding box matches the size of the region of interest.
[0103] The technical solution of this embodiment is that, when the tissue model pre-displayed on the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, the bounding box is moved and reduced until the region of interest is located within the bounding box and the size of the bounding box matches the size of the region of interest. In this way, when the size of the initially generated bounding box is large enough to accommodate the entire tissue model, that is, when the user cannot more intuitively see the region of interest on the tissue model, the bounding box can be gradually focused on the region of interest by moving and reducing the bounding box until the region of interest is located within the bounding box and the size of the bounding box matches the size of the region of interest, so that the user can more intuitively see the selected region of interest on the tissue model.
[0104] In one embodiment, adjusting the bounding box and the tissue model as a whole so that the bounding box is located in a preset area includes: adjusting the bounding box and the tissue model as a whole until the adjusted bounding box is located in the preset area.
[0105] In a specific implementation, when the selection operation meets the preset conditions, that is, when the selection operation takes effect, the bounding box may be offset from the preset area. In order to help the user to more focus and intuitively view the area of interest within the bounding box, the electronic device can adjust the bounding box and the tissue model as a whole until the adjusted bounding box is located in the preset area.
[0106] The technical solution of this embodiment, when the selection operation meets the preset conditions, adjusts the bounding box and the tissue model as a whole until the adjusted bounding box is located in the preset area. In this way, after the bounding box surrounds the region of interest, the bounding box and the tissue model are adjusted as a whole until the adjusted bounding box surrounding the region of interest is located in the preset area, thereby ensuring that the relative position of the region of interest in the bounding box and other regions in the tissue model remains unchanged during the adjustment process, so that the region of interest in the tissue model is more accurately displayed in the preset area.
[0107] In one embodiment, adjusting the bounding box and the tissue model as a whole includes: scaling the whole; and / or moving the whole.
[0108] Scaling the whole may mean keeping the center point of the whole unchanged and reducing or enlarging the size of the whole synchronously.
[0109] Moving the whole may refer to moving a preset position point in a region of interest in the whole to drive the whole to move and keep the size of the whole unchanged.
[0110] In a specific implementation, when the electronic device adjusts the bounding box and the tissue model as a whole, the electronic device may scale the whole; and / or move the whole until the bounding box is located in a preset area.
[0111] Specifically, the two operations of scaling the entirety and moving the entirety can be performed simultaneously until the bounding box is located in the preset area. In practical applications, the scaling and moving operations can be stopped when the current size and position of the bounding box are the same as the size and position of the bounding box corresponding to the initial display of the organizational model, that is, when the currently displayed bounding box completely overlaps with the bounding box initially generated in response to the bounding box generation operation.
[0112] It is understandable that the electronic device may also only scale the entirety until the current center point position of the bounding box coincides with the center point position of the preset area, determine that the bounding box is in the preset area, and stop scaling. For example, in response to a selection operation on an area of interest in a tissue model, when the distance between the center point position of the bounding box surrounding the area of interest and the center point position of the preset area is less than a preset distance threshold, it may be determined that the distance between the bounding box surrounding the area of interest in response to the selection operation and the preset area is relatively close. Thus, in the case of a relatively close distance, only the size of the entirety may be scaled until the current center point position of the bounding box coincides with the center point position of the preset area, and then the scaling may be stopped.
[0113] It is understandable that the electronic device may also only move the entirety until the current center point position of the bounding box coincides with the center point position of the preset area, determine that the bounding box is in the preset area, and stop moving. For example, in response to the selection operation, when the size of the bounding box surrounding the area of interest is the same as the size of the initially generated bounding box, the entirety may only be moved toward the preset area until the current center point position of the bounding box coincides with the center point position of the preset area, and stop moving.
[0114] The technical solution of this embodiment, by scaling the entirety; and / or, moving the entirety, can not only adjust the bounding box surrounding the region of interest to the preset area in a more diverse manner, but also ensure that during the scaling and / or moving of the entirety, the relative position of the region of interest within the bounding box and other regions in the tissue model remains unchanged, so as to more accurately display the region of interest in the tissue model in the preset area.
[0115] In one embodiment, when the organizational model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, the bounding box and the organizational model are adjusted as a whole so that the bounding box is located in a preset area, including: taking the bounding box and the organizational model as a whole, moving and enlarging the whole until the bounding box is located in the preset area.
[0116] In a specific implementation, when the tissue model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, since the size of the initially generated bounding box is large enough to accommodate the entire tissue model, and in the process of adjusting the bounding box so that the area of interest is located within the bounding box, the size of the bounding box is reduced. Therefore, when the electronic device satisfies the preset conditions in the rotary operation and adjusts the bounding box and the tissue model as a whole so that the bounding box is located in the preset area, the electronic device can move the bounding box and the tissue model as a whole, and enlarge the size of the whole until the bounding box is located in the preset area.
[0117] According to the technical solution of this embodiment, when the tissue model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, since the size of the initially generated bounding box is large enough to accommodate the entire tissue model, the size of the bounding box is reduced during the process of adjusting the bounding box so that the region of interest is located within the bounding box. By taking the bounding box and the tissue model as a whole and moving and enlarging the whole, it is ensured that the final bounding box is located in the preset area, so that the user can more conveniently observe the region of interest in the preset area.
[0118] In one embodiment, the method further includes: obtaining a difference between the time of responding to the selection operation and the current time; if the difference is greater than a preset time value, determining that the selection operation meets a preset condition.
[0119] In a specific implementation, before the electronic device determines the axis of the tissue model as a preset position point within the area of interest, the electronic device can determine the difference between the time of responding to the selection operation and the current time. When the difference is greater than the preset time value, it is determined that the selection operation is effective, that is, the selection operation meets the preset conditions.
[0120] In practical applications, the preset time value may be 0.5 seconds, and it is understandable that it may also be other values. For example, a preset time value of 0.5 seconds may be provided to the user for the user to reselect the region of interest. If the user does not modify the selected region of interest after 0.5 seconds, it is determined that the current selection operation of the region of interest is effective, the currently selected region of interest becomes selected, and the bounding box and the tissue model are adjusted as a whole until the adjusted bounding box is located in the preset area.
[0121] The technical solution of this embodiment obtains the difference between the time of responding to the selection operation and the current time; if the difference is greater than the preset time value, it is determined that the selection operation meets the preset condition. In this way, only when the difference between the time of responding to the selection operation and the current time is greater than the preset time value, it is determined that the selection operation meets the preset condition, and only when the preset condition is met, the subsequent operation is continued, that is, only when the difference is greater than the preset time value, it is determined that the user's selection operation on the region of interest in the tissue model is effective. This can not only effectively prevent users from violently clicking, and prevent users from frequently switching between different regions of interest to increase the amount of calculation, but also avoid the boundary box being immediately located in the preset area after the user performs the selection operation, making it difficult for the user to visually perceive whether the lesion has been selected, thereby improving the user's perception and effectively improving the intelligence of human-computer interaction when displaying the region of interest in the medical image.
[0122] In one embodiment, the method further comprises: in response to the bounding box adjustment operation, adjusting the size of the bounding box.
[0123] In a specific implementation, the interactive interface can provide a sliding bar for adjusting the size of the bounding box. After the axis of the tissue model is determined as a preset position point in the region of interest, the user can input a bounding box adjustment operation to the electronic device by sliding the sliding bar in the interactive interface. After the electronic device receives the bounding box adjustment operation, it responds to the bounding box adjustment operation, adjusts the size of the bounding box in real time, and cancels the display of the tissue model outside the current bounding box in real time, and only displays the rendered tissue model within the current bounding box. In this way, the smoothness of the display of the tissue model during the bounding box size adjustment process can be improved, and the aesthetics of the display of the tissue model can be improved.
[0124] The technical solution of this embodiment adjusts the size of the bounding box in response to the bounding box adjustment operation; in this way, the user can freely adjust the size of the observation area according to the convenience of observing the area of interest, which is conducive to improving the intelligence of human-computer interaction when displaying the area of interest in the medical image.
[0125] In one embodiment, the method further comprises: in response to the bounding box hiding operation, canceling the display of the bounding box.
[0126] Among them, the bounding box hiding operation is used to hide the bounding box.
[0127] In a specific implementation, the interactive interface may also provide a bounding box hiding entry, and the user may click on the bounding box hiding entry to input a bounding box hiding operation to the electronic device to cancel the display of the bounding box. In actual applications, when the selection operation satisfies a preset condition, the bounding box and the organized model may be adjusted as a whole until the adjusted bounding box is located in a preset area. The user may input a bounding box hiding operation to the electronic device, and after the electronic device receives the bounding box hiding operation, the bounding box in the interactive interface may be canceled in response to the bounding box hiding operation.
[0128] The technical solution of this embodiment cancels the display of the bounding box in response to the bounding box hiding operation. In this way, the user's non-concerned parts in the display interaction interface can be hidden, so that the user can view the area of interest more attentively and intuitively, and the non-concerned parts can be prevented from causing visual interference to the user's viewing of the area of interest, thereby effectively improving the intelligence of displaying the area of interest in medical images.
[0129] In another embodiment, if Figure 2 As shown, another method for displaying a region of interest in a medical image is provided. This embodiment uses the method applied to an electronic device as an example for illustration. The method includes the following steps:
[0130] Step S210 , in response to the bounding box generation operation, displaying a bounding box corresponding to the tissue model in a preset area of the interactive interface.
[0131] The interactive interface displays an organizational model in advance.
[0132] Step S220 , in response to a selection operation on the region of interest in the tissue model, adjusting the bounding box so that the region of interest is located within the bounding box.
[0133] In the above method for displaying a region of interest in a medical image, in response to a bounding box generation operation, a bounding box corresponding to a tissue model is displayed in a preset area of an interactive interface; wherein the interactive interface displays a tissue model in advance; in response to a selection operation for a region of interest in the tissue model, the bounding box is adjusted so that the region of interest is located within the bounding box. In this way, the bounding box is focused on the region of interest, so that the user can more intuitively see the selected region of interest on the tissue model, effectively improving the intelligence of human-computer interaction when displaying the region of interest in a medical image.
[0134] In one embodiment, the method further includes: adjusting the bounding box and the tissue model as a whole so that the bounding box is located in a preset area; or, when the selection operation meets a preset condition, adjusting the bounding box and the tissue model as a whole so that the bounding box is located in a preset area.
[0135] In a specific implementation, after the region of interest is located within the bounding box, the electronic device may adjust the bounding box and the tissue model as a whole so that the bounding box is located in a preset area. Alternatively, after the region of interest is located within the bounding box, the electronic device may adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area if the selection operation meets a preset condition.
[0136] In one embodiment, the method further includes: determining the axis of the tissue model as a preset position point in the region of interest; or, when the selection operation meets a preset condition, determining the axis of the tissue model as a preset position point in the region of interest.
[0137] In a specific implementation, after the region of interest is located within the bounding box, the electronic device may determine the axis of the tissue model as a preset position point within the region of interest. Alternatively, after the region of interest is located within the bounding box and the selection operation satisfies a preset condition, the axis of the tissue model is determined as a preset position point within the region of interest.
[0138] In one embodiment, the method further includes: adjusting the bounding box and the tissue model as a whole so that the bounding box is located in a preset area; and determining the axis of the tissue model as a preset position point in the region of interest.
[0139] In a specific implementation, after the region of interest is located within the bounding box, the electronic device can adjust the bounding box and the tissue model as a whole so that the bounding box is located in a preset area; then, the electronic device can determine the axis of the tissue model as a preset position point within the region of interest.
[0140] In one embodiment, the method further includes: determining the axis of the tissue model as a preset position point in the region of interest; and adjusting the bounding box and the tissue model as a whole so that the bounding box is located in the preset region.
[0141] In a specific implementation, after the region of interest is located within the bounding box, the electronic device can determine the axis of the tissue model as a preset position point within the region of interest; then, the electronic device can adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area.
[0142] In one embodiment, the method further includes: adjusting the bounding box and the tissue model as a whole so that the bounding box is located in a preset area; and determining the axis of the tissue model as a preset position point in the region of interest when the selection operation meets a preset condition.
[0143] In a specific implementation, after the area of interest is located within the bounding box, the electronic device can adjust the bounding box and the tissue model as a whole so that the bounding box is located in a preset area; then, when the selection operation meets the preset conditions, the axis of the tissue model is determined as the preset position point within the area of interest.
[0144] In one embodiment, the method further includes: if the selection operation satisfies a preset condition, determining the axis of the tissue model as a preset position point within the region of interest; and adjusting the bounding box and the tissue model as a whole so that the bounding box is located in the preset region.
[0145] In a specific implementation, after the area of interest is located within the bounding box, the electronic device can determine the axis of the tissue model as a preset position point within the area of interest if the selection operation meets the preset conditions; then, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area.
[0146] In one embodiment, the method further includes: if the selection operation satisfies a preset condition, adjusting the bounding box and the tissue model as a whole so that the bounding box is located in a preset area; and determining the axis of the tissue model as a preset position point in the region of interest.
[0147] In a specific implementation, after the area of interest is located within the bounding box, the electronic device can adjust the bounding box and the tissue model as a whole if the selection operation meets the preset conditions so that the bounding box is located in the preset area; then, the axis of the tissue model is determined as the preset position point within the area of interest.
[0148] In one embodiment, the method further includes: determining the axis of the tissue model as a preset position point within the region of interest; and when the selection operation meets a preset condition, adjusting the bounding box and the tissue model as a whole so that the bounding box is located in the preset region.
[0149] In a specific implementation, after the region of interest is located within the bounding box, the electronic device can determine the axis of the tissue model as a preset position point within the region of interest; then, when the selection operation meets the preset conditions, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area.
[0150] For the specific definition of the specific steps, reference may be made to the specific definition of a method for displaying a region of interest in a medical image in the above embodiment.
[0151] In one embodiment, the bounding box may be a sphere.
[0152] In practical applications, when the bounding box is a sphere, the bounding box may also be named a safe bounding sphere.
[0153] In order to facilitate the understanding of those skilled in the art, Figure 3 A flowchart of a method for displaying a region of interest in a medical image using a safe bounding sphere is provided. Figure 3 As shown, the electronic device can load a human tissue model list containing multiple tissue models in the interactive interface, and the user can select the tissue model to be observed in the human tissue model list, so that the electronic device can respond to the user's selection operation on the tissue model, download the tissue model selected by the user, and after rendering the selected tissue model, display the rendered three-dimensional morphology of the tissue model in the interactive interface. If the rendered tissue model contains an area of interest that the user wants to observe (for example, the area where the lesion is located), the electronic device can activate the safety boundary sphere generation function so that the user can observe the area of interest using the generated safety boundary sphere; if it does not contain the area of interest that the user wants to observe (for example, the area where the lesion is located), the safety boundary sphere function is disabled.
[0154] It should be noted that Figure 3 The safety bounding sphere in can also be replaced by a bounding box of other three-dimensional shapes, which is not specifically limited here.
[0155] In order to facilitate the understanding of those skilled in the art, Figure 4 A flowchart of a method for displaying a region of interest in a medical image using a 3D safe bounding sphere is provided, which is used to realize the function of a user observing the region of interest using the generated safe bounding sphere after the above-mentioned safe bounding sphere generation function is activated. Figure 4 As shown, the method comprises the following steps:
[0156] 1. Create a sphere: After turning on the safety boundary sphere function, the electronic device automatically activates the safety boundary sphere post-processing script and creates a 3D translucent sphere (i.e., 3D safety boundary sphere). The initial position (preset area) of the sphere is the central area of the interactive interface.
[0157] 2. Encapsulating the lesion: After the user selects the area where the lesion is located in the tissue model as the area of interest, the electronic device can highlight the selected area where the lesion is located in the interactive interface, and move the 3D safety boundary ball to the selected area where the lesion is located. The center point of the sphere coincides with the center point of the area where the lesion is located, and the diameter of the ball is adjusted to be no less than the distance between the two farthest vertices of the area where the lesion is located, to ensure that the sphere surrounds the area where the lesion is located, that is, the area where the lesion is located is within the sphere, so that the user can pay more attention to the local area encapsulated by the 3D sphere.
[0158] 3. Lesion estimation: After the 3D sphere surrounds the area where the lesion is located, the diameter of the sphere can be displayed in real time on the interactive interface. The diameter of the sphere does not change with the scaling of the tissue model, and can truly reflect the length of the physical space. Users can use this data as a reference to estimate the size of the lesion.
[0159] 4. Automatic positioning: After selecting the lesion site for 0.5s (i.e., the preset time value), if the user selects the area where the lesion site is located as the area of interest, repeat step 2.
[0160] 5. Rotation and scaling center transformation: If the user does not select other lesion sites, the currently selected lesion site becomes selected, and the 3D safety bounding sphere and tissue model are adjusted as a whole so that the adjusted 3D safety bounding sphere is located in the center area of the interactive interface, and the rotation and scaling axis of the entire tissue model is adjusted from the center point of the tissue model to the center point of the area where the selected lesion site is located.
[0161] In this way, each time you click to select the lesion site, the 3D safety bounding sphere will first focus on the lesion site, and then the lesion site and the 3D safety bounding sphere will be synchronously moved to the center area of the interactive interface. If there is no preset time value buffer, each time you click to select the lesion site, the 3D safety bounding sphere will be in the center area of the interactive interface, and it will be difficult for the user to visually perceive whether the lesion site has been selected. Therefore, by setting the preset time value, it can not only prevent users from violent clicking, and prevent users from frequently switching between different regions of interest, resulting in increased calculations, but also enable users to more clearly determine whether the lesion site is selected, effectively improving the intelligence of human-computer interaction when displaying regions of interest in medical images.
[0162] 6. Hide non-concern areas: After the lesion site is selected, the 3D safety bounding sphere is undisplayed, the post-processing script is activated, the tissue fragments in the tissue model except the area where the lesion site is located are hidden, and the area where the lesion site is located is rendered.
[0163] Among them, the post-processing script is the last step in which the user can modify the rendering effect before the data is rendered to the screen. The main purpose of the post-processing script is to provide rendering parameters such as the center, radius, and ring color and width of the safety bounding sphere. By post-processing the tissue model with the post-processing script, the 3D safety bounding sphere can be converted into 2D mode, and a 2D circular area can be rendered in the interactive interface (that is, the area where the lesion is located within the 2D circular area is rendered), and the tissue fragments of the tissue model outside the 2D circular area are removed to hide the tissue fragments in the tissue model except the area where the lesion is located.
[0164] Among them, after the area where the lesion is located is located in the central area of the interactive interface, the electronic device can determine the center of the 2D circular area according to the center point of the area where the lesion is located; and determine the radius of the 2D circular area according to the length, width and height of the area where the lesion is located projected onto the screen plane.
[0165] In order to facilitate the understanding of those skilled in the art, Figure 5 A schematic diagram is provided showing that the rendered lesion area is located within the 2D circular area. Figure 5 As shown, the 2D circular area can surround the lesion area after the 3D rendering. The lesion area can include the lesion body, blood vessels and nerve fiber tissues around the lesion.
[0166] 7. Personalized adjustment of observation radius: The user drags on the interactive interface to cause the tissue model to rotate around the center point of the lesion area. The user can adjust the radius of the 2D circular area by operating the slider on the interactive interface to modify the size of the observation area represented by the 2D circular area, and discard all tissue fragments outside the current observation area and fill them with black.
[0167] It should be noted that this method does not need to convert the 3D safe bounding sphere into a 2D circular area. By adding a tissue fragment discarding scheme outside the sphere to the 3D safe bounding sphere, the 3D safe bounding sphere function at all stages can be realized. There is no need to use black filling. The 2D version needs to be filled because the 2D plane background is black. The part outside the circle needs to be filled with black, the same color as the background.
[0168] Compared with using a 2D circular area as a bounding box, this method has a more 3D stereoscopic effect visually and does not require post-processing technology to discard tissue fragments.
[0169] After using a 3D sphere to surround the area where the lesion is located in the entire stage, the electronic device that executes the above method may not be limited to VR (Virtual Reality) devices, but may also be AR (Augmented Reality) and MR (Mixed Reality) devices, such as: HTC view, Hololens.
[0170] In another embodiment, Figure 6 As shown, a method for displaying a region of interest in a medical image is provided, and the method is applied to an electronic device as an example for explanation, and includes the following steps:
[0171] Step S610: In response to the bounding box generation operation, a bounding box corresponding to the organizational model is displayed in a preset area of the interactive interface.
[0172] Step S620 , in response to the selection operation on the region of interest in the tissue model, the bounding box is adjusted so that the region of interest is located within the bounding box, and the tissue model located outside the bounding box is cancelled from display.
[0173] Step S630, obtaining the difference between the time in response to the selection operation and the current time.
[0174] Step S640: If the difference is greater than the preset time value, it is determined that the selection operation meets the preset condition.
[0175] Step S650: When the selection operation satisfies a preset condition, the bounding box and the tissue model are adjusted as a whole until the adjusted bounding box is located in a preset area.
[0176] Step S660: determining the axis of the tissue model as a preset position point in the region of interest.
[0177] For specific definitions of other steps, please refer to the specific definitions of a method for displaying a region of interest in a medical image in the above embodiment.
[0178] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0179] Based on the same inventive concept, the embodiment of the present application also provides a device for displaying a region of interest in a medical image for implementing the above-mentioned method for displaying a region of interest in a medical image. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of the device for displaying a region of interest in a medical image provided below can refer to the limitations of the method for displaying a region of interest in a medical image above, and will not be repeated here.
[0180] In one embodiment, Figure 7 As shown, a device for displaying a region of interest in a medical image is provided, comprising: a display module 710, an adjustment module 720 and a determination module 730, wherein:
[0181] The display module 710 is used to display a bounding box corresponding to the organizational model in a preset area of the interactive interface in response to the bounding box generation operation; wherein the organizational model is pre-displayed on the interactive interface.
[0182] The adjustment module 720 is configured to adjust the bounding box in response to a selection operation on the region of interest in the tissue model so that the region of interest is located within the bounding box.
[0183] The determination module 730 is used to adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area and the axis of the tissue model is determined as a preset position point in the region of interest when the selection operation meets the preset conditions.
[0184] In one embodiment, the adjustment module 720 is further configured to cancel the display of the tissue model located outside the boundary box.
[0185] In one of the embodiments, the tissue model pre-displayed in the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, and the preset position point is the center point of the region of interest.
[0186] In one embodiment, the adjustment module 720 is specifically configured to move and reduce the bounding box until the region of interest is located within the bounding box and the size of the bounding box matches the size of the region of interest.
[0187] In one embodiment, the adjustment module 720 is specifically configured to take the bounding box and the tissue model as a whole, and move and enlarge the whole until the bounding box is located in the preset area.
[0188] In one embodiment, the adjustment module 720 is further configured to adjust the bounding box and the tissue model as a whole until the adjusted bounding box is located in the preset area.
[0189] In one embodiment, the adjustment module 720 is further specifically used to scale the entirety; and / or move the entirety.
[0190] In one embodiment, the determination module 730 is further used to obtain the difference between the time of responding to the selection operation and the current time; if the difference is greater than a preset time value, it is determined that the selection operation meets the preset condition.
[0191] In one embodiment, the bounding box is a sphere.
[0192] In one embodiment, the adjustment module 720 is further configured to adjust the size of the bounding box in response to the bounding box adjustment operation.
[0193] In one embodiment, the adjustment module 720 is further configured to cancel the display of the bounding box in response to a bounding box hiding operation.
[0194] In one embodiment, Figure 8 As shown, another device for displaying a region of interest in a medical image is provided, which is applied to an electronic device and includes: a display module 810 and an adjustment module 820; wherein:
[0195] The display module 810 is used to display a bounding box corresponding to the organizational model in a preset area of the interactive interface in response to the bounding box generation operation; wherein the organizational model is pre-displayed on the interactive interface.
[0196] The adjustment module 820 is configured to adjust the bounding box in response to a selection operation on the region of interest in the tissue model so that the region of interest is located within the bounding box.
[0197] In one embodiment, the adjustment module 820 is further configured to adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area; or, when the selection operation satisfies a preset condition, adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area.
[0198] In one embodiment, the device further includes: a determination module, used to determine the axis of the tissue model as a preset position point in the region of interest; or, when the selection operation meets a preset condition, determine the axis of the tissue model as a preset position point in the region of interest.
[0199] Each module in the above-mentioned device for displaying the region of interest in the medical image can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0200] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Fig. 9As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for displaying an area of interest in a medical image is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0201] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0202] In one embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0203] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0204] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0205] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0206] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0207] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0208] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for displaying a region of interest in a medical image, characterized in that: The method comprises: In response to the bounding box generation operation, a bounding box corresponding to the organizational model is displayed in a preset area of an interactive interface; wherein the organizational model is displayed in advance on the interactive interface; In response to a selection operation on a region of interest in the tissue model, adjusting the bounding box so that the region of interest is located within the bounding box; When the selection operation satisfies a preset condition, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area, and the axis of the tissue model is determined as a preset position point in the region of interest.
2. The method according to claim 1, characterized in that After the response to the selection operation on the region of interest in the tissue model, the method further includes: The tissue model outside the bounding box is not displayed.
3. The method according to claim 1, characterized in that The tissue model pre-displayed on the interactive interface is located within the bounding box displayed in response to the bounding box generation operation, and the preset position point is the center point of the region of interest.
4. The method according to claim 3, characterized in that The step of adjusting the bounding box so that the region of interest is located within the bounding box includes: The bounding box is moved and reduced until the region of interest is within the bounding box and the size of the bounding box matches the size of the region of interest.
5. The method according to claim 3, characterized in that: The adjusting the bounding box and the tissue model as a whole so that the bounding box is located in the preset area includes: The bounding box and the tissue model are taken as a whole, and the whole is moved and enlarged until the bounding box is located in the preset area.
6. The method according to claim 1, characterized in that The method further comprises: Obtaining a difference between a time in response to the selection operation and a current time; If the difference is greater than the preset time value, it is determined that the selection operation meets the preset condition.
7. The method according to claim 1, characterized in that The bounding box is a sphere.
8. The method according to claim 1, characterized in that The method further comprises: In response to a bounding box adjustment operation, the size of the bounding box is adjusted.
9. The method according to claim 1, characterized in that: The method further comprises: In response to the bounding box hiding operation, the bounding box is undisplayed.
10. A method for displaying a region of interest in a medical image, characterized in that: The method comprises: In response to the bounding box generation operation, a bounding box corresponding to the organizational model is displayed in a preset area of an interactive interface; wherein the organizational model is displayed in advance on the interactive interface; In response to a selection operation on a region of interest in the tissue model, the bounding box is adjusted so that the region of interest is located within the bounding box.
11. The method according to claim 10, characterized in that The method further comprises: Adjusting the bounding box and the tissue model as a whole so that the bounding box is located in the preset area; or, In a case where the selection operation satisfies a preset condition, the bounding box and the tissue model are adjusted as a whole so that the bounding box is located in the preset area.
12. The method according to claim 10, characterized in that The method further comprises: Determine the axis of the tissue model as a preset position point in the region of interest; or, When the selection operation satisfies a preset condition, the axis of the tissue model is determined as a preset position point in the region of interest.
13. A device for displaying a region of interest in a medical image, characterized in that: The device comprises: A display module, configured to display a bounding box corresponding to the organizational model in a preset area of an interactive interface in response to a bounding box generation operation; wherein the organizational model is pre-displayed on the interactive interface; an adjusting module, configured to adjust the bounding box in response to a selection operation on the region of interest in the tissue model so that the region of interest is located within the bounding box; A determination module is used to adjust the bounding box and the tissue model as a whole so that the bounding box is located in the preset area and the axis of the tissue model is determined as a preset position point in the region of interest when the selection operation meets the preset conditions.
14. A device for displaying a region of interest in a medical image, characterized in that: The device comprises: A display module, configured to display a bounding box corresponding to the organizational model in a preset area of an interactive interface in response to a bounding box generation operation; wherein the organizational model is pre-displayed on the interactive interface; An adjustment module is used for adjusting the bounding box in response to a selection operation on the region of interest in the tissue model so that the region of interest is located within the bounding box.
15. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 and / or 10 to 12 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 and / or 10 to 12 are implemented.