CN-121983254-A - Method, device, equipment and medium for controlling annotation display in medical image
Abstract
The embodiment of the invention discloses a method, a device, equipment and a medium for controlling the display of labels in medical images. The method comprises the steps of displaying medical image pictures and labels in the medical image pictures, displaying an anatomical structure hierarchical tree, displaying a single-selection control corresponding to a leaf node and a single-selection control and a check control corresponding to a father node, determining a label selection state corresponding to a first node in response to a first single-selection control triggering operation, updating the current display state of the first single-selection control and the current display state of the first check control, determining the label selection state corresponding to a second node and the label selection states corresponding to all subordinate nodes of the second node in response to a second check control triggering operation, updating the current display state of the second check control and the current display state of a third check control, and controlling whether labels are displayed or not in response to a display control triggering operation, so that flexible control and efficient visual management of batched label display are achieved.
Inventors
- WANG YANMEI
- PAN HUILONG
- Shi Shuyue
- ZHOU CHANG
- YUAN RONG
Assignees
- 上海影禾医脉智能科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260408
Claims (10)
- 1. A method for controlling the display of labels in medical images is characterized by comprising the following steps: Displaying a medical image picture of a target part and a mark of an interested region in the medical image picture in a first region of a current page; displaying an anatomical structure hierarchical tree of the target part in a second area of the current page, and displaying a single-selection control corresponding to each leaf node and a single-selection control and a check control corresponding to each father node in the anatomical structure hierarchical tree, wherein nodes in the anatomical structure hierarchical tree correspond to labels in the medical image picture; Responding to triggering operation of a first single-selection control corresponding to a first node, determining a label selection state corresponding to the first node as a selection state, updating the current display state of the first single-selection control as a selection state, and determining and updating the current display state of a first check control, wherein the first check control comprises check controls corresponding to each upper node of the first node, and the current display state of the first check control comprises a full selection state or a partial selection state; Responding to triggering operation of a second check control corresponding to a second node, determining that the label selection state corresponding to the second node and the label selection states corresponding to all lower nodes of the second node are both check states, updating the current display state of the second check control to be a full-selection state, and determining and updating the current display state of a third check control, wherein the third check control comprises a check control corresponding to each upper node of the second node, and the current display state of the third check control comprises the full-selection state or a partial-selection state; and determining all the currently selected labels based on the label selection state, and controlling whether all the currently selected labels are displayed in the medical image picture or not in response to the display control triggering operation.
- 2. The method of claim 1, wherein determining the current display state of the first check control comprises: For each upper node of the first node, acquiring a label selection state corresponding to the upper node and a label selection state corresponding to each lower node of the upper node; Responding to the marking selection state corresponding to the upper node as a checking state and the marking selection state corresponding to each lower node of the upper node as a checking state, and determining that the current display state of the first check control corresponding to the upper node is a full-selection state; And responding to the label selection state corresponding to the upper node as an unselected state or the label selection state corresponding to part of lower nodes of the upper node as an unselected state, and determining that the current display state of the first check control corresponding to the upper node is a partially selected state.
- 3. The method of claim 1, wherein controlling whether all annotations currently selected are displayed in the medical image picture in response to a display control trigger operation comprises: Responding to display control triggering operation, and controlling all labels currently selected to be displayed in the medical image picture, wherein the current state of all labels currently selected is a hidden state; And responding to the display control triggering operation, and controlling all the labels currently selected to be hidden in the medical image picture, wherein the current state of all the labels currently selected is the display state.
- 4. The method according to claim 1, wherein the method further comprises: Responding to the re-triggering operation of the first single-selection control, determining that the label selection state corresponding to the first node is an unselected state, updating the current display state of the first single-selection control to be an unselected state, and updating the current display state of the first single-selection control, wherein the current display state of the first single-selection control comprises a partial selection state or an unselected state; and responding to the re-triggering operation of the second check control, determining that the label selection state corresponding to the second node and the label selection states corresponding to all subordinate nodes of the second node are both unselected states, updating the current display state of the second check control to be the unselected state, and updating the current display state of the third check control, wherein the current display state of the third check control comprises a partial selection state or an unselected state.
- 5. The method according to claim 1, wherein the method further comprises: And displaying a first labeling quantity and a second labeling quantity corresponding to each node in the anatomical structure hierarchical tree, wherein the first labeling quantity refers to the quantity labeled in the current node, and the second labeling quantity refers to the total quantity labeled in the current node and all lower nodes of the current node.
- 6. The method according to claim 1, wherein the method further comprises: Responding to the label selection operation triggered in the medical image picture, and determining the label selection state corresponding to the currently selected target label as a selected state; Determining a target node corresponding to the target label, updating the current display state of a single-selection control corresponding to the target node to be a checking state, and updating the current display state of a fourth check control, wherein the fourth check control comprises check controls corresponding to each upper node of the target node.
- 7. The method according to any one of claims 1-6, further comprising: Displaying a target check control corresponding to the anatomical structure hierarchical tree, wherein the target check control corresponds to all labels of the target part; Responding to the triggering operation of a first single-selection control corresponding to a first node, and updating the current display state of the target check control; And responding to the triggering operation of the second check control corresponding to the second node, and updating the current display state of the target check control.
- 8. A medical image annotation display control device, comprising: The annotation display module is used for displaying the medical image picture of the target part and the annotation of the region of interest in the medical image picture in the first region of the current page; The hierarchical tree display module is used for displaying an anatomical structure hierarchical tree of the target part in a second area of the current page, and displaying a single-selection control corresponding to each leaf node and a single-selection control and a check control corresponding to each father node in the anatomical structure hierarchical tree, wherein nodes in the anatomical structure hierarchical tree correspond to labels in the medical image picture; the first state updating module is used for responding to the triggering operation of a first single-selection control corresponding to a first node, determining the labeling selection state corresponding to the first node as a selection state, updating the current display state of the first single-selection control as the selection state, and determining and updating the current display state of a first check control, wherein the first check control comprises check controls corresponding to each upper node of the first node, and the current display state of the first check control comprises a full selection state or a partial selection state; the second state updating module is used for responding to the triggering operation of a second check control corresponding to a second node, determining that the label selection state corresponding to the second node and the label selection states corresponding to all lower nodes of the second node are both check states, updating the current display state of the second check control to be a full-check state, and determining and updating the current display state of a third check control, wherein the third check control comprises check controls corresponding to each upper node of the second node, and the current display state of the third check control comprises the full-check state or the partial-check state; and the annotation display control module is used for determining all currently selected annotations based on the annotation selection state and controlling whether all currently selected annotations are displayed in the medical image picture or not in response to the display control triggering operation.
- 9. An electronic device, the electronic device comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of controlling annotation display in medical images according to any of claims 1-7.
- 10. A computer readable storage medium, wherein the computer readable storage medium stores computer instructions for causing a processor to implement the method for controlling annotation display in a medical image according to any one of claims 1-7 when executed.
Description
Method, device, equipment and medium for controlling annotation display in medical image Technical Field The embodiment of the invention relates to a medical image technology, in particular to a method, a device, equipment and a medium for controlling annotation display in a medical image. Background With the continuous development of medical imaging technology, medical images such as electronic computed tomography (Computed Tomography, CT) and magnetic resonance imaging (Magnetic Resonance Imaging, MRI) have been widely used in clinical diagnosis, lesion recognition, and preoperative planning. To facilitate lesion localization, quality judgment, and image analysis, it is often necessary to label the region of interest on the medical image. The labeling can intuitively reflect the position, size, category and spatial distribution of the focus, and provides important reference basis for doctors. In the existing medical image labeling technology, a display mode that all labels are loaded uniformly and displayed simultaneously is generally adopted. However, as the number of labels increases, various labels are easy to overlap, block, crowd and confuse in the picture, so that not only the observation effect of focus and anatomical structures is affected, but also visual interference is caused, and the interpretation accuracy is reduced. Disclosure of Invention The embodiment of the invention provides a method, a device, equipment and a medium for controlling annotation display in medical images, which are used for realizing flexible control and efficient visual management of batched annotation display, thereby reducing visual interference, accurately checking and improving the observation definition and interpretation accuracy of focus. In a first aspect, an embodiment of the present invention provides a method for controlling display of labels in medical images, including: Displaying a medical image picture of a target part and a mark of an interested region in the medical image picture in a first region of a current page; displaying an anatomical structure hierarchical tree of the target part in a second area of the current page, and displaying a single-selection control corresponding to each leaf node and a single-selection control and a check control corresponding to each father node in the anatomical structure hierarchical tree, wherein nodes in the anatomical structure hierarchical tree correspond to labels in the medical image picture; Responding to triggering operation of a first single-selection control corresponding to a first node, determining a label selection state corresponding to the first node as a selection state, updating the current display state of the first single-selection control as a selection state, and determining and updating the current display state of a first check control, wherein the first check control comprises check controls corresponding to each upper node of the first node, and the current display state of the first check control comprises a full selection state or a partial selection state; Responding to triggering operation of a second check control corresponding to a second node, determining that the label selection state corresponding to the second node and the label selection states corresponding to all lower nodes of the second node are both check states, updating the current display state of the second check control to be a full-selection state, and determining and updating the current display state of a third check control, wherein the third check control comprises a check control corresponding to each upper node of the second node, and the current display state of the third check control comprises the full-selection state or a partial-selection state; and determining all the currently selected labels based on the label selection state, and controlling whether all the currently selected labels are displayed in the medical image picture or not in response to the display control triggering operation. In a second aspect, an embodiment of the present invention further provides a device for controlling display of labels in medical images, including: The annotation display module is used for displaying the medical image picture of the target part and the annotation of the region of interest in the medical image picture in the first region of the current page; The hierarchical tree display module is used for displaying an anatomical structure hierarchical tree of the target part in a second area of the current page, and displaying a single-selection control corresponding to each leaf node and a single-selection control and a check control corresponding to each father node in the anatomical structure hierarchical tree, wherein nodes in the anatomical structure hierarchical tree correspond to labels in the medical image picture; the first state updating module is used for responding to the triggering operation of a first single-selection control corresponding to a first node,