DSA video image-based hemorrhagic spot detection method, system and device
By applying the bleeding point detection model in the DSA video images, the bleeding point is quickly identified and marked, and the problem of difficulty in identifying bleeding points in the DSA video images is solved, improving surgical efficiency and recognition accuracy.
Patent Information
- Application Number
- CN202311168485.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-11
- Publication Date
- 2025-03-14
AI Technical Summary
In DSA video images, bleeding points are usually small, making it difficult to find the naked eye, resulting in a lot of time spent in the operation to find the bleeding points, and a lack of vascular bleeding detection methods suitable for DSA video images.
By obtaining the DSA video image of the target object during the injection of contrast agent, the bleeding point detection model is used to detect bleeding points on multiple frame images, determine whether there are suspected bleeding points, and display the marked image to the user.
It realizes rapid real-time detection of bleeding points during surgery, improves surgical efficiency, improves the accuracy of the recognition process through machine learning models, and adapts to the real-time nature of dynamic videos.
Smart Images

Figure CN119606408A_ABST
Abstract
Description
Technical Field
[0001] The present specification relates to the field of medical scanning, and in particular to a method, system and device for detecting bleeding points based on DSA video images. Background Art
[0002] Digital Subtraction Angiography (DSA) can be used to detect and diagnose vascular diseases (such as vascular bleeding detection, etc.). DSA digitally processes continuous X-ray images (or CT images) with images after contrast agent injection to subtract interference from bone and soft tissue structures and highlight the contours and lesions of blood vessels. In vascular bleeding detection, since the bleeding points are often small and not obvious on the contrast images, it is difficult to find the bleeding points with the naked eye, resulting in a lot of time spent looking for bleeding points during the current surgery. In addition, there is currently a lack of vascular bleeding detection methods suitable for DSA video images.
[0003] Therefore, this specification provides a bleeding point detection method based on DSA video images, which can quickly detect bleeding points in real time during surgery and improve surgical efficiency. Summary of the invention
[0004] One of the embodiments of the present specification provides a bleeding point detection method based on DSA video images, the method comprising: acquiring a DSA video image of a target object during the process of being injected with a contrast agent; performing bleeding point detection on multiple frames of the DSA video image using a bleeding point detection model to obtain multiple detection results, each of the detection results corresponding to a frame of the DSA video image; determining whether the multiple detection results include the suspected bleeding point; in response to at least one detection result among the multiple detection results including the suspected bleeding point, annotating the frame of image corresponding to the detection result including the suspected bleeding point and displaying it to a user.
[0005] In some embodiments, the training process of the bleeding point detection model includes: obtaining a key frame image in a historical DSA video image, wherein the key frame image includes an intraoperative bleeding point annotation; mapping the intraoperative bleeding point annotation to at least one adjacent image frame adjacent to the key frame image to obtain a bleeding point detection label; and training an initial bleeding point detection model based on the bleeding point detection label, the key frame image, and the adjacent image to obtain a trained bleeding point detection model.
[0006] In some embodiments, the method further includes: obtaining confirmation information from the user; in response to the confirmation information being that the suspected bleeding point is an actual bleeding point, generating a navigation path from the arterial delivery microcatheter to the suspected bleeding point based on the position of the suspected bleeding point in the DSA video image.
[0007] In some embodiments, the method further includes: determining whether there is a three-dimensional DSA video image of the target object; in response to the existence of the three-dimensional DSA video image of the target object, mapping the position of the suspected bleeding point into the three-dimensional DSA video image; and generating the navigation path from the arterial delivery microcatheter to the suspected bleeding point based on the mapped three-dimensional DSA video image.
[0008] In some embodiments, the bleeding point detection model is a bleeding point detection model trained by an automatic feature extraction method combined with a machine learning classification algorithm, and the training process of the bleeding point detection model includes: based on a preset sliding window size and sliding step size, dividing the DSA video image into multiple target detection blocks; extracting image features of the multiple target detection blocks, each of the target detection blocks including a first label, and the first label is whether it contains the intraoperative bleeding point annotation; training is performed based on the image features and the first label to obtain the trained bleeding point detection model, wherein the positive sample of the bleeding point detection model is a target detection block containing the intraoperative bleeding point annotation.
[0009] In some embodiments, the bleeding point detection model is a bleeding point detection model trained by an end-to-end target detection algorithm based on deep learning, and the training process of the bleeding point detection model includes: training the initial bleeding point detection model based on the DSA video image and the second label to obtain a trained bleeding point detection model, wherein the second label is a bleeding point annotation box in the DSA video image.
[0010] In some embodiments, the key frame image is an original image or a preprocessed image in the DSA video image, and the preprocessing includes at least one of the following: grayscale transformation, filtering, morphological processing, and image enhancement.
[0011] In some embodiments, the image features include at least one of the following: oriented gradient histogram features, local binary pattern features, and image grayscale change features.
[0012] One of the embodiments of the present specification provides a bleeding point detection system based on DSA video images, the system comprising: an acquisition module, used to acquire DSA video images of a target object during the process of being injected with contrast agent; a detection module, used to perform bleeding point detection on multiple frames of the DSA video image through a bleeding point detection model to obtain multiple detection results, each of the detection results corresponding to a frame of the DSA video image; a judgment module, used to judge whether the multiple detection results include the suspected bleeding point; and a display module, used to annotate the frame of image corresponding to the detection result including the suspected bleeding point and display it to a user in response to at least one detection result among the multiple detection results including the suspected bleeding point.
[0013] One of the embodiments of this specification provides a bleeding point detection device based on DSA video images, and the device includes: at least one storage medium for storing computer instructions; at least one processor for executing the computer instructions to implement the bleeding point detection method based on DSA video images.
[0014] By using the DSA video image-based bleeding point detection method described in this specification, at least the following beneficial effects can be achieved: 1) The system automatically marks the bleeding points of blood vessels and displays them to the user, and the identification of bleeding points can be achieved through a machine learning model, thereby improving the accuracy of the identification process; 2) The bleeding point detection method targets DSA video images, and can realize dynamic identification of bleeding points during surgery, ensuring the real-time nature of the identification process and adaptability to dynamic videos; 3) During model training, the sample set can be expanded through image preprocessing and adjacent image processing, reducing the extra workload caused by users marking a large number of sample images, and can also achieve image enhancement and image denoising, reducing the impact of invalid data on the accuracy of the sample set; 4) Using adjacent images as training data can improve the fault tolerance of the model; 5) Using multiple models to achieve bleeding point annotation can meet different annotation accuracy requirements and calculation speed requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0016] Figure 1 It is a schematic diagram of an application scenario of a bleeding point detection system based on DSA video images according to some embodiments of this specification;
[0017] Figure 2 is an exemplary structural diagram of a bleeding point detection system based on DSA video images according to some embodiments of this specification;
[0018] Figure 3 is an exemplary flow chart of a bleeding point detection method based on DSA video images according to some embodiments of this specification;
[0019] Figure 4 It is a flow chart of the bleeding point detection model training according to some embodiments of this specification;
[0020] Figure 5 This is a flow chart of the bleeding point detection model training according to some embodiments of this specification. DETAILED DESCRIPTION
[0021] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0022] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0023] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0024] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0025] Digital Subtraction Angiography (DSA) can be used to detect and diagnose vascular diseases (such as vascular bleeding detection, etc.). In vascular bleeding detection, since the bleeding points are often small and not obvious on the angiography images, it is difficult to find the bleeding points with the naked eye, resulting in a lot of time spent on finding bleeding points during the current surgery. In addition, there is currently a lack of vascular bleeding detection methods suitable for DSA video images. Therefore, this specification provides a bleeding point detection method based on DSA video images, which can quickly detect bleeding points in real time during surgery and improve surgical efficiency.
[0026] Figure 1 It is a schematic diagram of an application scenario of a bleeding point detection system based on DSA video images according to some embodiments of this specification.
[0027] like Figure 1 As shown, the application scenario 100 of the bleeding point detection system based on DSA video images may include an imaging device 110 , a processing device 120 , a terminal 130 , a network 140 and a storage device 150 .
[0028] The imaging device 110 can be used to obtain DSA video images during the process of contrast agent injection into the target object. The imaging device 110 can be a medical imaging device (e.g., a DSA imaging device, etc.). In some embodiments, the imaging device 110 can include components such as an X-ray tube, a high voltage generator, an image intensifier, an optical system, a controller, a camera, a rack, etc. (partially not shown in the figure). In some embodiments, the target object can be an individual being scanned, such as a person (patient), an animal, etc. In some embodiments, the region of interest can be a lesion area of the target object, such as the head, neck, chest, etc.
[0029] The processing device 120 can process data and / or information obtained from the imaging device 110, the terminal 130 and / or the storage device 150. For example, the processing device 120 can obtain a DSA video image of the target object during the injection of contrast agent, at least one frame of the DSA video image includes a suspected bleeding point; perform bleeding point detection on multiple frames of the DSA video image through a bleeding point detection model to obtain multiple detection results, each of which corresponds to a frame of the DSA video image; determine whether the multiple detection results include the suspected bleeding point; in response to at least one detection result in the multiple detection results including the suspected bleeding point, annotate the frame of the image corresponding to the detection result including the suspected bleeding point and display it to the user. In some embodiments, the processing device 120 can be a single server or a server group. The server group can be centralized or distributed. In some embodiments, the processing device 120 can be local or remote. For example, the processing device 120 can access information and / or data from the imaging device 110, the terminal 130 and / or the storage device 150 through the network 140. For another example, the processing device 120 may be directly connected to the imaging device 110, the terminal 130 and / or the storage device 150 to access information and / or data. In some embodiments, the processing device 120 may be implemented on a cloud platform. For example, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, a cross-cloud, a multi-cloud, or a combination thereof.
[0030] The terminal 130 may include a mobile device 131, a tablet computer 132, a laptop computer 133, etc. or any combination thereof. In some embodiments, the terminal 130 may interact with other components through the network 140. For example, the terminal 130 may send one or more control instructions to the imaging device 110 to control the imaging device 110 to scan the target object according to the instructions. For another example, the terminal 130 may also receive and present the DSA video image sent by the processing device 120 to the user, and perform other operations in response to user feedback. In some embodiments, the terminal 130 may be a part of the processing device 120. The user may be a user of the bleeding point detection system based on the DSA video image. For example, a doctor, a researcher, etc.
[0031] The network 140 may include any suitable network capable of facilitating information and / or data exchange. In some embodiments, one or more components (e.g., the imaging device 110, the processing device 120, the terminal 130, the storage device 150, etc.) may exchange information and / or data with one or more components via the network 140. For example, the processing device 120 may obtain a DSA video image from the imaging device 110 via the network 140. The network 140 may include a public network (e.g., the Internet), a private network (e.g., a local area network (LAN), a wide area network (WAN), etc.), a wired network (e.g., Ethernet), a wireless network, a cellular network, a frame relay network, a virtual private network, a satellite network, a telephone network, a router, a hub, a server computer, etc., or a combination thereof.
[0032] The storage device 150 may store data, instructions, and / or any other information. In some embodiments, the storage device 150 may store data obtained from the imaging device 110, the terminal 130, and / or the processing device 120. For example, the storage device 150 may store a DSA video image obtained from the imaging device 110. In some embodiments, the storage device 150 may store data and / or instructions executed or used by the processing device 120 to perform the exemplary method described in this application. In some embodiments, the storage device 150 may include a large-capacity memory, a removable memory, a volatile read-write memory, a read-only memory (ROM), etc., or a combination of several thereof. In some embodiments, the storage device 150 may be implemented by the cloud platform described in this application. For example, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, a cross-cloud, a multi-cloud, etc., or a combination of several thereof.
[0033] In some embodiments, the storage device 150 may be connected to the network 140 to implement communication with one or more components (e.g., the processing device 120, the terminal 130, etc.). One or more components may read data or instructions in the storage device 150 through the network 140. In some embodiments, the storage device 150 may be part of the processing device 120, or may be independent and directly or indirectly connected to the processing device.
[0034] It should be noted that the application scenario 100 of the bleeding point detection system based on DSA video images is provided for illustrative purposes only and is not intended to limit the scope of the present application. For those of ordinary skill in the art, various modifications or variations can be made according to the description of this specification. For example, the application scenario 100 of the bleeding point detection system based on DSA video images can also include a database. For another example, the application scenario 100 of the bleeding point detection system based on DSA video images can implement similar or different functions on other devices. However, these changes and modifications will not deviate from the scope of the present application.
[0035] Figure 2 It is an exemplary structural diagram of a bleeding point detection system based on DSA video images according to some embodiments of this specification.
[0036] In some embodiments, the bleeding point detection system 200 based on DSA video images may include an acquisition module 210 , a detection module 220 , a determination module 230 and a display module 240 .
[0037] The acquisition module 210 may be used to acquire a DSA video image of the target object during the process of being injected with contrast agent.
[0038] The detection module 220 may be configured to perform bleeding point detection on multiple frames of the DSA video image using a bleeding point detection model to obtain multiple detection results, each of which corresponds to a frame of the DSA video image.
[0039] The determination module 230 may be configured to determine whether the plurality of detection results include the suspected bleeding point.
[0040] The display module 240 may be configured to, in response to at least one of the multiple detection results including the suspected bleeding point, annotate the frame of image corresponding to the detection result including the suspected bleeding point and then display it to the user.
[0041] Figure 3 FIG. 1 is an exemplary flow chart of a bleeding point detection method based on DSA video images according to some embodiments of this specification. Figure 3 As shown, the process 300 includes the following steps. In some embodiments, the process 300 may be performed by a processing device (such as the processing device 120) and its components.
[0042] Step 310 , obtaining a DSA video image of the target object during the process of contrast agent injection. In some embodiments, step 310 may be performed by the acquisition module 210 .
[0043] DSA video images are video images of the contrast agent changes over time during the process of contrast agent injection into the target object. In DSA technology, the contrast agent injected into the target object can better observe the bleeding in the blood vessels through medical imaging means. DSA video images can reflect the silhouette change process of medical images (such as DSA images, etc.). In some embodiments, DSA video images can be 2D or 3D. In some embodiments, DSA video images can have different frame rates. For example, the frame rate can be 5 frames / second, 30 frames / second, etc.
[0044] In some embodiments, the DSA video image may include multiple frames of images. The first frame may be an image of the target object before the contrast agent is injected, and the last frame may be an image of the target object at the end of the contrast agent injection process. In some embodiments, at least one frame of the DSA video image includes a suspected bleeding point.
[0045] Suspected bleeding points are bleeding points that may exist. The DSA video image needs to include at least one frame of images containing suspected bleeding points for subsequent bleeding point detection. That is, the contrast agent needs to flow through the actual bleeding point.
[0046] Step 320 , performing bleeding point detection on multiple frames of the DSA video image using a bleeding point detection model to obtain multiple detection results. In some embodiments, step 320 may be performed by the detection module 220 .
[0047] The bleeding point detection model can be used to generate the detection results of bleeding point detection. The bleeding point detection model can be a model such as a convolutional neural network (CNN), a recurrent neural network (RNN), etc. In some embodiments, the input of the bleeding point detection model can include each frame in the DSA video image, and the output can include the detection results of each frame in the DSA video image. For a detailed description of the bleeding point detection model, see Figure 4 , Figure 5 and its related description.
[0048] In some embodiments, the detection result may be "the current frame includes suspected bleeding points" and "the current frame does not include suspected bleeding points". In some embodiments, when the current frame includes suspected bleeding points, the detection result may also include the specific position (such as position coordinates, etc.) of the suspected bleeding points in the current frame.
[0049] In some embodiments, each detection result corresponds to a frame of the DSA video image. For example, when the DSA video image includes N frames, it may correspond to N detection results, where N is an integer, and its value may be 10, 30, or 100, etc.
[0050] Step 330 , determining whether the multiple detection results include suspected bleeding points. In some embodiments, step 330 may be performed by the determination module 230 .
[0051] In some embodiments, the processing device 120 may determine whether there is a detection result of “the current frame includes a suspected bleeding point.” If there is a detection result of “the current frame includes a suspected bleeding point,” step 340 is performed.
[0052] Step 340 , in response to at least one of the multiple detection results including a suspected bleeding point, annotate a frame of image corresponding to the detection result including the suspected bleeding point and then display it to the user. In some embodiments, step 340 may be performed by the display module 240 .
[0053] In some embodiments, for the detection result of "the current frame includes suspected bleeding points", the processing device 120 may mark the suspected bleeding points at the specific position of the corresponding image frame. Exemplary marking methods may be text marking, image frame (such as a square frame) marking, highlight marking, etc. In some embodiments, image marking may be implemented by a bleeding point detection model. For example, when the detection result is "the current frame includes suspected bleeding points", the output of the bleeding point detection model may also include marking the specific position of the suspected bleeding points in the current frame. Specifically, the output of the bleeding point detection model may be an image frame containing suspected bleeding points.
[0054] In some embodiments, the processing device 120 may annotate a frame of image corresponding to the detection result including the suspected bleeding point and display it to the user. Exemplarily, the processing device 120 may send the detection result to the terminal device 130, and the terminal device 130 may display it to the user.
[0055] In some embodiments, when none of the multiple test results include suspected bleeding points, the processing device 120 may output information that none of the multiple test results include suspected bleeding points, and require the user to manually confirm.
[0056] In some embodiments, the processing device 120 may obtain confirmation information from the user; in response to the confirmation information that the suspected bleeding point is an actual bleeding point, a navigation path is generated from the arterial delivery microcatheter to the suspected bleeding point based on the position of the suspected bleeding point in the DSA video image.
[0057] The confirmation information may be user feedback on the generated detection results. The detection results of the bleeding points output by the bleeding point detection model need to be confirmed by the user to avoid intraoperative risks caused by actual output errors of the model. For example, the confirmation information may include that the suspected bleeding point is the actual bleeding point and that the suspected bleeding point is not the actual bleeding point. When the suspected bleeding point is not the actual bleeding point, the user can manually confirm the bleeding point in the DSA video image, or control the processing device 120 to re-perform process 300.
[0058] The navigation path can be a movement path or introduction path of the interventional object. In some embodiments, the navigation path is the flow path of the contrast agent. For example, the interventional object enters the human body from a human artery (such as the aorta) and moves through a microcatheter to the path of the suspected bleeding point. Among them, the interventional object can be used for hemostasis of bleeding points, such as embolic agents, spring coils, etc. Specific embolic agents can be polymer microspheres, emboli, drug embolic agents, embolic glue, etc. Navigation path generation can achieve continuous positioning of actual bleeding points and avoid additional radiation doses caused by continuous injection of contrast agents during follow-up surgical treatment.
[0059] In some embodiments, the processing device 120 can determine whether there is a three-dimensional DSA video image of the target object; in response to the existence of a three-dimensional DSA video image of the target object, map the location of the suspected bleeding point into the three-dimensional DSA video image; and based on the mapped three-dimensional DSA video image, generate a navigation path from the arterial delivery microcatheter to the suspected bleeding point.
[0060] The three-dimensional DSA video image is a stereoscopic image of the process of contrast agent injection into the target object. The three-dimensional DSA video image can further reflect the spatial structure of the blood vessel. In some embodiments, the three-dimensional DSA video image can be generated by 3D reconstruction software or obtained by calling a pre-stored three-dimensional blood vessel model.
[0061] Through the bleeding point detection method based on DSA video images described in some embodiments of this specification, the system can automatically mark the bleeding points of blood vessels and display them to the user, and the identification of bleeding points can be achieved through a machine learning model to improve the accuracy of the identification process; in addition, the bleeding point detection method targets the DSA video image, which can realize dynamic identification of bleeding points during surgery, ensuring the real-time nature of the identification process and its adaptability to dynamic video.
[0062] Figure 4 This is a flow chart of the bleeding point detection model training according to some embodiments of this specification. Figure 4 As shown, the process 400 includes the following steps. In some embodiments, the process 400 may be executed by a processing device (such as the processing device 120) or a component thereof.
[0063] Step 410: Acquire key frame images in historical DSA video images.
[0064] The historical DSA video images are DSA video images at historical times. In some embodiments, the historical DSA video images are acquired through the network 140, the storage device 150, and the like.
[0065] The key frame image is at least one frame of interest in the historical DSA video image. The key frame image may include the actual bleeding point. Further, the key frame image is the image frame with the best imaging effect and the clearest display of the actual bleeding point. In some embodiments, the key frame image may be one or more frames. In some embodiments, the key frame image includes intraoperative bleeding point annotations. The key frame image may be determined by a user (e.g., a doctor).
[0066] The intraoperative bleeding point marking is the location marking of the bleeding point during the operation. The intraoperative bleeding point marking can be a text marking, an image frame (such as a square frame) marking, a highlight marking, etc. In some embodiments, the intraoperative bleeding point marking can be completed by a user (such as a doctor).
[0067] In some embodiments, the key frame image is the original image or the preprocessed image in the DSA video image. The original image in the DSA video image is an image that has not undergone any image processing. Preprocessing includes at least one of the following: grayscale transformation, filtering, morphological processing, image enhancement, etc. Among them, filtering can include spatial filtering, frequency domain filtering, etc. Since the key frame images need to be labeled by the user, which will generate additional workload, by preprocessing the key frame images, the key frame images before preprocessing and the key frame images after preprocessing can be used as training samples, which can expand the data set of the training model; in addition, by preprocessing to achieve image denoising, redundant data can be removed, the image display effect can be enhanced, and the network generalization and sample quality can be improved.
[0068] Step 420 , mapping the intraoperative bleeding point annotations to at least one adjacent frame image adjacent to the key frame image to obtain bleeding point detection labels.
[0069] The adjacent image is an image of a frame adjacent to the key frame image (such as the previous frame or the next frame). Since each frame image in the DSA video image has a certain continuity according to the time sequence, that is, there is a certain image similarity between adjacent frame images. Therefore, the intraoperative bleeding point annotation can be mapped to at least one frame of adjacent image adjacent to the key frame image to further expand the data set of the training model. In addition, using adjacent images as training data can improve the fault tolerance of the model. For example, if the model does not identify the bleeding point in frame A, but identifies the bleeding point in the adjacent frame B, such recognition results will not affect the end user's judgment of the actual bleeding point, reducing the error of model recognition. In some embodiments, the processing device 120 can map the intraoperative bleeding point annotation to multiple frames of adjacent images adjacent to the key frame image. Such as 5 frames, 10 frames, etc.
[0070] Step 430 , training the initial bleeding point detection model based on the bleeding point detection labels, key frame images and adjacent images to obtain a trained bleeding point detection model.
[0071] In some embodiments, the bleeding point detection model can be obtained by training multiple training samples with bleeding point detection labels. For example, multiple training samples with bleeding point detection labels can be input into the initial bleeding point detection model, and a loss function can be constructed by using the labels and the results of the initial bleeding point detection model. The parameters of the initial bleeding point detection model are iteratively updated based on the loss function by gradient descent or other methods. When the preset conditions are met, the model training is completed and a trained bleeding point detection model is obtained. The preset conditions may be that the loss function converges, the number of iterations reaches a threshold, etc. The training samples may include key frame images before and after preprocessing and adjacent images. The label may be a bleeding point detection label corresponding to each frame of the image.
[0072] The bleeding point detection model training process in this embodiment can achieve the expansion of the sample set through image preprocessing and adjacent image processing, reducing the extra workload caused by users labeling a large number of sample images; in addition, image preprocessing can also achieve image enhancement and image denoising, reducing the impact of invalid data on the accuracy of the sample set.
[0073] Figure 5 This is a flow chart of the bleeding point detection model training according to some embodiments of this specification. Figure 5 As shown, the process 500 includes the following steps. In some embodiments, the process 500 may be executed by a processing device (such as the processing device 120) or a component thereof.
[0074] In some embodiments, the bleeding point detection model is a bleeding point detection model trained by using an automatic feature extraction method combined with a machine learning classification algorithm. For example, the bleeding point detection model can be a model such as logistic regression, decision tree, random forest, support vector machine (SVM), K-nearest neighbors (KNN), etc.
[0075] Step 510: Divide the DSA video image into a plurality of target detection blocks based on a preset sliding window size and sliding step size.
[0076] The sliding window size may be a fixed-size region selected from a frame of the DSA video image. The sliding window size may be expressed in pixels, for example, 16×16 pixels, 32×32 pixels, etc.
[0077] The sliding step size is the distance moved each time when sliding the sliding window. The sliding step size can be expressed in pixels, for example, 16 pixels, 32 pixels, etc.
[0078] The object detection block is the image block that needs to be subjected to image feature extraction. For example, a DSA video image of size 256x256 pixels can be divided into 64 object detection blocks by a sliding window of size 32x32 pixels and a step size of 32 pixels.
[0079] Step 520: extract image features of multiple target detection blocks.
[0080] Image features are appearance features of the target detection block related to bleeding point identification. In some embodiments, the image features include at least one of the following: Histogram of Oriented Gradients (HOG) features, Local Binary Patterns (LBP) features, Haar-like features and other feature description operators. Taking the Histogram of Oriented Gradients (HOG) feature as an example, the processing device 120 can calculate the gradients in the horizontal and vertical directions of the DSA video image (such as Sobel operator), obtain the gradient amplitude and direction of each pixel in each target detection block, and then count the histogram of the gradient direction in each target detection block. The histogram can be used as the HOG feature of the target detection block. The use of HOG features can capture local features such as edges and textures of DSA video images, and the feature dimension is low, which is suitable for classification and identification of bleeding point detection models.
[0081] In some embodiments, each target detection block includes a first label. The first label is whether it contains intraoperative bleeding point markings.
[0082] Step 530: Perform training based on the image features and the first label to obtain a trained bleeding point detection model.
[0083] In some embodiments, the bleeding point detection model can be obtained by training multiple training samples with a first label. For example, multiple training samples with a first label can be input into the initial bleeding point detection model, and a loss function can be constructed by the first label and the result of the initial bleeding point detection model. The parameters of the initial bleeding point detection model are iteratively updated by gradient descent or other methods based on the loss function. When the preset conditions are met, the model training is completed and a trained bleeding point detection model is obtained. Among them, the preset conditions can be that the loss function converges, the number of iterations reaches a threshold, etc. The training sample may include image features. The label can be a first label (i.e., including intraoperative bleeding point annotations, not including intraoperative bleeding point annotations, which can be represented by 1 and 0 respectively).
[0084] In some embodiments, the bleeding point detection model may be a classification model, wherein the positive sample of the classification model is a target detection block containing intraoperative bleeding point annotations. In some embodiments, the classification model may also include negative samples. For example, if two overlapping blood vessels have a lower gray value (similar to the gray value of bleeding points) in a two-dimensional DSA image, but do not contain actual bleeding points, the target detection block containing the overlapping blood vessels may be used as a negative sample.
[0085] In this embodiment, by adopting the automatic feature extraction method combined with the bleeding point detection model trained by the machine learning classification algorithm, a simple structure model can be used to mark the bleeding points. The classification model has good robustness and can better cope with the redundant data in the sample.
[0086] In some embodiments, the bleeding point detection model may also be a bleeding point detection model trained by an end-to-end target detection algorithm based on deep learning.
[0087] The end-to-end object detection algorithm is an algorithm that can directly output the detection result from the original input image. The end-to-end object detection algorithm can avoid the process of image feature extraction, but automatically learn the mapping relationship between image features and detection results through a neural network model. In some embodiments, the bleeding point detection model trained by the end-to-end object detection algorithm based on deep learning can be a YOLO (You Only Look Once) model, an SSD (Single Shot MultiBox Detector) model, etc.
[0088] The second tag represents the bleeding point annotation box in the DSA video image, and the second tag can reflect the intraoperative bleeding point annotation of the position and size of the bleeding point in each frame of the DSA video image, such as a boundary box annotated with the bleeding point position.
[0089] In some embodiments, the processing device 120 may use the DSA video image and the second label as training samples, and train a bleeding point detection model by the following method: S1. Divide each frame of the input DSA video image into multiple cells, and each cell is used to detect the bleeding point target whose center point falls within the cell; S2. Obtain a pre-trained convolutional neural network (such as GoogleNet, VGG, ResNet, etc.) as a feature extractor, and convert the input DSA video image into a feature map; S3. Predict the position and category of the bleeding point boundary box based on the convolutional neural network and the fully connected neural network, and generate a bleeding point candidate box S4. Calculate the loss based on the difference between the position prediction result of the candidate box and the second label, and minimize the loss function through the back propagation algorithm; S5 iterate the calculation until the iteration stop condition is met, where the iteration stop condition can be reaching a preset number of training rounds or meeting the accuracy requirements for use.
[0090] In this embodiment, the bleeding point detection model is trained by an end-to-end target detection algorithm based on deep learning, which can avoid extracting image features and directly obtain intraoperative bleeding point annotations, thereby improving the bleeding point detection speed of the model during use.
[0091] In some embodiments, the bleeding point detection model may also be other models, which is not limited in this specification.
[0092] Through the bleeding point detection method based on DSA video images described in some embodiments of this specification, at least the following beneficial effects can be achieved: 1) The system automatically marks the bleeding points of blood vessels and displays them to the user, and the identification of bleeding points can be achieved through a machine learning model, thereby improving the accuracy of the identification process; 2) The bleeding point detection method targets the DSA video image, and can realize dynamic identification of bleeding points during surgery, ensuring the real-time nature of the identification process and adaptability to dynamic videos; 3) During model training, the sample set can be expanded through image preprocessing and adjacent image processing, reducing the extra workload caused by users marking a large number of sample images, and can also achieve image enhancement and image denoising, reducing the impact of invalid data on the accuracy of the sample set; 4) Using adjacent images as training data can improve the fault tolerance of the model; 5) Using multiple models to achieve bleeding point annotation can meet different annotation accuracy requirements and calculation speed requirements.
[0093] Some embodiments of the present specification also provide a bleeding point detection device based on DSA video images, which includes at least one processor and at least one memory; the at least one memory is used to store computer instructions; and the at least one processor is used to execute at least part of the computer instructions to implement the above-mentioned bleeding point detection method based on DSA video images.
[0094] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0095] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0096] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0097] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0098] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0099] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification are hereby incorporated by reference in their entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.
[0100] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A bleeding point detection method based on DSA video images, characterized in that: The method comprises: Acquire a DSA video image of the target object during the process of contrast agent injection; Performing bleeding point detection on multiple frames of the DSA video image using a bleeding point detection model to obtain multiple detection results, each of which corresponds to a frame of the DSA video image; Determining whether the multiple test results include suspected bleeding points; In response to at least one detection result among the multiple detection results including the suspected bleeding point, the frame of image corresponding to the detection result including the suspected bleeding point is annotated and then displayed to the user.
2. The method according to claim 1, characterized in that The training process of the bleeding point detection model includes: Acquire a key frame image in a historical DSA video image, wherein the key frame image includes an intraoperative bleeding point mark; Mapping the intraoperative bleeding point annotation to at least one adjacent image frame adjacent to the key frame image to obtain a bleeding point detection label; Based on the bleeding point detection labels, the key frame images and the adjacent images, an initial bleeding point detection model is trained to obtain a trained bleeding point detection model.
3. The method according to claim 1, characterized in that The method further comprises: Get the user's confirmation information; In response to the confirmation information that the suspected bleeding point is an actual bleeding point, a navigation path from the arterial delivery microcatheter to the suspected bleeding point is generated based on the position of the suspected bleeding point in the DSA video image.
4. The method according to claim 3, characterized in that The method further comprises: Determining whether there is a three-dimensional DSA video image of the target object; In response to the target object existing in the three-dimensional DSA video image, mapping the position of the suspected bleeding point into the three-dimensional DSA video image; Based on the mapped three-dimensional DSA video image, the navigation path from the arterial delivery microcatheter to the suspected bleeding point is generated.
5. The method according to claim 1, characterized in that The bleeding point detection model is a bleeding point detection model trained by using an automatic feature extraction method combined with a machine learning classification algorithm. The training process of the bleeding point detection model includes: Based on a preset sliding window size and sliding step size, the DSA video image is divided into a plurality of target detection blocks; Extracting image features of the plurality of target detection blocks, each of the target detection blocks comprising a first label, wherein the first label indicates whether the intraoperative bleeding point mark is included; Training is performed based on the image features and the first label to obtain the trained bleeding point detection model, wherein the positive sample of the bleeding point detection model is a target detection block containing the intraoperative bleeding point annotation.
6. The method according to claim 1, characterized in that The bleeding point detection model is a bleeding point detection model trained by an end-to-end target detection algorithm based on deep learning. The training process of the bleeding point detection model includes: The initial bleeding point detection model is trained based on the DSA video image and the second label to obtain a trained bleeding point detection model, wherein the second label is a bleeding point marking box in the DSA video image.
7. The method according to claim 2, characterized in that The key frame image is an original image or a pre-processed image in the DSA video image, and the pre-processing includes at least one of the following: grayscale transformation, filtering, morphological processing, and image enhancement.
8. The method according to claim 5, characterized in that The image features include at least one of the following: Directed gradient histogram features, local binary pattern features, and image grayscale change features.
9. A bleeding point detection system based on DSA video images, characterized in that: The system comprises: An acquisition module, used for acquiring a DSA video image of a target object during the process of being injected with a contrast agent; A detection module, used for performing bleeding point detection on multiple frames of the DSA video image by using a bleeding point detection model to obtain multiple detection results, each of which corresponds to a frame of the DSA video image; A judgment module, used for judging whether the multiple detection results include suspected bleeding points; The display module is used for annotating the frame of image corresponding to the detection result including the suspected bleeding point and then displaying it to the user in response to at least one detection result among the multiple detection results including the suspected bleeding point.
10. A bleeding point detection device based on DSA video images, the device comprising: at least one storage medium storing computer instructions; At least one processor executes the computer instructions to implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Image processing device and method and storage medium
CN111080593A
Visual tracking by colorization
CN111742345A
Face labeling method and device, electronic equipment and storage medium
CN113361366A
Label fusion method and device, computer readable storage medium and terminal
CN115294339A
Video labeling method, device, equipment, medium and product
CN115905622A
