Bladder flushing status monitoring system and method based on image recognition

Using deep learning technology to extract the color and texture features of the bladder flushing process, combined with principal component analysis and gated response fusion modules, intelligent monitoring of bladder flushing status is achieved, solving the problems of low efficiency and subjectivity of manual monitoring, and improving bladder Automation and safety of the flushing process.

CN118521966BActive Publication Date: 2024-09-17JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410987537.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-09-17
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

In the existing technology, the monitoring of bladder flushing status relies on manual observation, which results in low efficiency and is easily affected by subjective judgment and lacks objective accuracy.

Method used

Computer vision technology based on deep learning is used to obtain real-time images of the bladder flushing process through the camera, extract color features and HOG features, and form a multi-modal bladder flushing status through principal component analysis and feature vector dynamic interactive fusion modules of gated responses. Fusion of representation features enables intelligent anomaly recognition.

Benefits of technology

It significantly improves the automation and intelligence level of the bladder flushing process, reduces the workload of medical staff, and provides safer and more reliable medical services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118521966B
    Figure CN118521966B
Patent Text Reader

Abstract

The present application discloses a bladder flushing state monitoring system and method based on image recognition, which relates to the field of image processing technology. It uses computer vision technology based on deep learning to analyze real-time images during bladder flushing, extracts color features and texture features of the image, and then interactively fuses the color features and texture features of the image to form a comprehensive representation of the bladder flushing state, thereby realizing intelligent recognition of abnormal bladder flushing states. In this way, the automation and intelligence level of the bladder flushing process can be significantly improved, the workload of medical staff can be reduced, and at the same time, safer and more reliable medical services can be provided to patients.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and more specifically, to a bladder flushing status monitoring system and method based on image recognition. Background Art

[0002] As one of the important organs of the human body, the bladder plays a vital role in the urinary system. During the recovery phase after urological surgery, bladder irrigation is a common treatment method aimed at reducing bleeding in the bladder, preventing or controlling infection, and ensuring the patency of the catheter.

[0003] During bladder irrigation, medical staff need to frequently observe key indicators such as the color, clarity and transmittance of the irrigation fluid to evaluate the recovery of the bladder and the effect of the irrigation. However, this monitoring method requires medical staff to invest a lot of time and energy in manual observation and recording, which reduces work efficiency and is easily affected by the subjective judgment of medical staff, resulting in less objective and accurate results.

[0004] In recent years, with the rapid development of computer technology, an automated and intelligent solution has been provided for the intelligent monitoring of bladder flushing status. Therefore, a bladder flushing status monitoring system and method based on image recognition is expected. Summary of the invention

[0005] In order to solve the above technical problems, this application is proposed.

[0006] Accordingly, according to one aspect of the present application, a bladder flushing status monitoring system based on image recognition is provided, comprising:

[0007] A real-time monitoring module for the bladder flushing process is used to obtain real-time images of the bladder flushing process collected by a camera;

[0008] An image multi-dimensional feature extraction module, used to extract color features and HOG features of the real-time image of the bladder flushing process to obtain a bladder flushing process color feature vector and a bladder flushing process histogram vector;

[0009] A principal component analysis module, configured to perform feature sparseness on the bladder flushing process color feature vector and the bladder flushing process histogram vector using principal component analysis to obtain a sparse bladder flushing process color feature vector and a sparse bladder flushing process histogram vector;

[0010] A multi-modal feature dynamic interactive fusion module, used for inputting the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector into a feature vector dynamic interactive fusion module based on gated response to obtain a multi-modal fusion representation feature vector of the bladder washing process;

[0011] A flushing state monitoring module, used to determine whether there is an abnormality in the flushing state based on the multimodal fusion representation feature vector of the bladder flushing process;

[0012] The multimodal feature dynamic interaction fusion module includes:

[0013] A feature cascade unit, configured to perform feature cascade on the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector to obtain a bladder washing process multimodal feature cascade representation vector;

[0014] An information fusion threshold calculation unit, used for inputting the multi-modal feature cascade representation vector of the bladder flushing process into a gated response function to obtain a response gate for information fusion;

[0015] A weighted fusion unit is used to calculate a difference with the response gate of the information fusion, and use the response gate of the information fusion and the difference as weights to calculate the position-weighted sum of the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector to obtain a multimodal fusion representation feature vector of the bladder flushing process.

[0016] In the above-mentioned bladder flushing status monitoring system based on image recognition, the image multi-dimensional feature extraction module includes: a color feature extraction unit, which is used to extract the color features of the real-time image of the bladder flushing process using a color histogram to obtain the color feature vector of the bladder flushing process; and a HOG feature extraction unit, which is used to extract the image HOG features of the real-time image of the bladder flushing process to obtain the histogram vector of the bladder flushing process.

[0017] In the above-mentioned bladder flushing status monitoring system based on image recognition, the color feature extraction unit includes: a grid division subunit, which is used to grid the real-time image of the bladder flushing process to obtain a sequence of real-time image blocks of the bladder flushing process; a color histogram calculation subunit, which is used to calculate the color histogram of each bladder flushing process real-time image block in the sequence of real-time image blocks of the bladder flushing process to obtain a sequence of color histograms; a normalization subunit, which is used to normalize each color histogram in the sequence of color histograms to obtain a sequence of normalized color histogram vectors; and a one-dimensional splicing subunit, which is used to perform one-dimensional splicing on the sequence of normalized color histogram vectors to obtain the color feature vector of the bladder flushing process.

[0018] In the above-mentioned bladder flushing status monitoring system based on image recognition, the normalization subunit is used to: divide each element value in the color histogram by the sum of the element values ​​of the color histogram to obtain the normalized color histogram vector.

[0019] In the above-mentioned bladder flushing state monitoring system based on image recognition, the HOG feature extraction unit includes: an image preprocessing subunit, which is used to perform image grayscale and gamma normalization processing on the real-time image of the bladder flushing process to obtain a grayscale image of the bladder flushing process; a gradient calculation subunit, which is used to use a one-dimensional central symmetric operator and its transposition to calculate the gradients in the horizontal and vertical directions of the grayscale image of the bladder flushing process to obtain a gradient map in the horizontal and vertical directions of the bladder flushing process and a gradient map in the vertical direction of the bladder flushing process; a gradient direction amplitude calculation subunit, for respectively calculating the gradient direction and gradient amplitude of each pixel point in the grayscale image of the bladder flushing process based on the gradient map in the horizontal and vertical directions of the bladder flushing process and the gradient map in the vertical directions of the bladder flushing process; a local area division subunit, for performing local area division on the grayscale image of the bladder flushing process to obtain a plurality of grayscale image blocks of the bladder flushing process, wherein the grayscale image block of the bladder flushing process is composed of 4 cells, each of which is composed of 8×8 pixels, and the sliding step length of the grayscale image block of the bladder flushing process is 1 cell; a directional gradient histogram statistics subunit, for calculating the gradient direction of each pixel point in the grayscale image of the bladder flushing process in The interval is evenly divided into 9 gradient direction intervals, and the accumulated value of the gradient amplitude of each pixel point belonging to each gradient direction interval in each bladder flushing process grayscale image block is calculated respectively to obtain the directional gradient histogram vector corresponding to each bladder flushing process grayscale image block, wherein the length of the directional gradient histogram vector is 9; a vectorization subunit is used to cascade the directional gradient histogram vectors of each bladder flushing process grayscale image block in the bladder flushing process grayscale image according to the scanning order of the bladder flushing process grayscale image to obtain the bladder flushing process histogram vector.

[0020] In the above-mentioned bladder flushing status monitoring system based on image recognition, the information fusion threshold calculation unit is used to: use a predetermined weight vector to multiply the multimodal feature cascade representation vector of the bladder flushing process to obtain an information interaction fusion correlation coefficient; add the information interaction fusion correlation coefficient and a predetermined bias parameter and then activate it through a sigmoid function to obtain a response gate of the information fusion.

[0021] In the above-mentioned bladder flushing status monitoring system based on image recognition, the flushing status monitoring module is used to: input the multimodal fusion representation feature vector of the bladder flushing process into the classifier-based flushing status monitor to obtain a monitoring result, and the monitoring result is used to indicate whether there is an abnormality in the flushing status.

[0022] In the above-mentioned bladder flushing state monitoring system based on image recognition, it also includes a training module for training the feature vector dynamic interactive fusion module based on gated response and the flushing state monitor based on classifier; wherein the training module includes: a training data acquisition unit, used to acquire training data, the training data includes a real-time image of the training bladder flushing process collected by a camera and a true value of whether there is an abnormality in the flushing state; a training image color feature extraction unit, used to use a color histogram to extract the color features of the real-time image of the training bladder flushing process to obtain a color feature vector of the training bladder flushing process; a training image HOG feature extraction unit, used to extract the image HOG features of the real-time image of the training bladder flushing process to obtain a histogram vector of the training bladder flushing process; a training image feature sparseness unit, used to use principal component analysis to extract the color feature vector of the training bladder flushing process and the real-time image of the training bladder flushing process The histogram vector is feature sparsified to obtain a training sparse bladder flushing process color feature vector and a training sparse bladder flushing process histogram vector; a training image multimodal feature fusion unit is used to input the training sparse bladder flushing process color feature vector and the training sparse bladder flushing process histogram vector into the gated response-based feature vector dynamic interactive fusion module to obtain a training bladder flushing process multimodal fusion representation feature vector; a classification loss unit is used to input the training bladder flushing process multimodal fusion representation feature vector into the classifier-based flushing state monitor to obtain a classification loss function value; a model training unit is used to train the gated response-based feature vector dynamic interactive fusion module and the classifier-based flushing state monitor with the classification loss function value, wherein, in each round of iteration of the training, the training bladder flushing process multimodal fusion representation feature vector is iteratively optimized.

[0023] According to another aspect of the present application, a bladder flushing status monitoring method based on image recognition is provided, which includes:

[0024] Acquire real-time images of the bladder flushing process collected by a camera;

[0025] Extracting color features and HOG features of the real-time image of the bladder flushing process to obtain a bladder flushing process color feature vector and a bladder flushing process histogram vector;

[0026] Performing feature sparseness on the bladder washing process color feature vector and the bladder washing process histogram vector using principal component analysis to obtain a sparse bladder washing process color feature vector and a sparse bladder washing process histogram vector;

[0027] Inputting the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector into a feature vector dynamic interactive fusion module based on gated response to obtain a bladder washing process multimodal fusion representation feature vector;

[0028] Determining whether there is an abnormality in the flushing state based on the multimodal fusion representation feature vector of the bladder flushing process;

[0029] The sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector are input into a feature vector dynamic interactive fusion module based on gated response to obtain a bladder washing process multimodal fusion representation feature vector, including:

[0030] Performing feature concatenation on the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector to obtain a bladder washing process multimodal feature concatenation representation vector;

[0031] Inputting the multimodal feature cascade representation vector of the bladder flushing process into a gated response function to obtain an information fusion response gate;

[0032] A difference with the response gate of the information fusion is calculated, and the response gate of the information fusion and the difference are used as weights to calculate the position-weighted sum of the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector to obtain the multimodal fusion representation feature vector of the bladder flushing process.

[0033] Compared with the prior art, the bladder flushing status monitoring system and method based on image recognition provided by the present application uses computer vision technology based on deep learning to analyze the real-time images during the bladder flushing process, extracts the color features and texture features of the image, and then interactively fuses the color features and texture features of the image to form a comprehensive representation of the bladder flushing status, thereby realizing intelligent recognition of abnormal bladder flushing status. In this way, the automation and intelligence level of the bladder flushing process can be significantly improved, the workload of medical staff can be reduced, and at the same time, safer and more reliable medical services can be provided to patients. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0035] Figure 14 is a block diagram of a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application.

[0036] Figure 2 Schematic diagram of the architecture of a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application.

[0037] Figure 3 4 is a block diagram of an image multi-dimensional feature extraction module in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application.

[0038] Figure 4 4 is a block diagram of a color feature extraction unit in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application.

[0039] Figure 5 4 is a block diagram of a HOG feature extraction unit in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application.

[0040] Figure 6 It is a block diagram of a multimodal feature dynamic interactive fusion module in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application.

[0041] Figure 7 4 is a block diagram of a training module in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application.

[0042] Figure 8 Flow chart of a bladder flushing status monitoring method based on image recognition according to an embodiment of the present application. DETAILED DESCRIPTION

[0043] Below, the embodiments of the present application will be described in more detail in conjunction with the accompanying drawings, and the above and other purposes, features and advantages of the present application will become more apparent. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein.

[0044] As mentioned in the above background technology, during the bladder flushing process, medical staff must keep a constant eye on the color, clarity and transmittance of the flushing solution to ensure accurate evaluation of bladder recovery and flushing effect. However, the current monitoring method that relies entirely on manual labor undoubtedly brings a heavy workload to medical staff. It is not only time-consuming and labor-intensive, but also may have an adverse effect on the objectivity and accuracy of the evaluation results due to differences in personal subjective judgment. In response to the above technical problems, the technical concept of this application is to use computer vision technology based on deep learning to perform image analysis on real-time images during bladder flushing, extract the color features and texture features of the image, and then interactively fuse the color features and texture features of the image to form a comprehensive representation of the bladder flushing state, and thereby realize intelligent recognition of abnormal bladder flushing states. In this way, the automation and intelligence level of the bladder flushing process can be significantly improved, the workload of medical staff can be reduced, and at the same time, safer and more reliable medical services can be provided to patients.

[0045] Figure 1 4 is a block diagram of a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application. Figure 2 FIG. 1 is a schematic diagram of the architecture of a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application. Figure 1 and Figure 2 As shown, according to the embodiment of the present application, the bladder flushing state monitoring system 100 based on image recognition includes: a bladder flushing process real-time monitoring module 110, which is used to obtain a real-time image of the bladder flushing process collected by a camera; an image multi-dimensional feature extraction module 120, which is used to extract the color features and HOG features of the real-time image of the bladder flushing process to obtain a bladder flushing process color feature vector and a bladder flushing process histogram vector; a principal component analysis module 130, which is used to use principal component analysis to perform feature sparseness on the bladder flushing process color feature vector and the bladder flushing process histogram vector to obtain a sparse bladder flushing process color feature vector and a sparse bladder flushing process histogram vector; a multimodal feature dynamic interactive fusion module 140, which is used to input the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector into a feature vector dynamic interactive fusion module based on gated response to obtain a bladder flushing process multimodal fusion representation feature vector; a flushing state monitoring module 150, which is used to determine whether there is an abnormality in the flushing state based on the multimodal fusion representation feature vector of the bladder flushing process.

[0046] In the above-mentioned bladder flushing state monitoring system 100 based on image recognition, the bladder flushing process real-time monitoring module 110 is used to obtain the real-time image of the bladder flushing process collected by the camera. It should be understood that during the bladder flushing process, the color, clarity, turbidity and other information of the flushing fluid are key indicators that directly reflect the bladder recovery and flushing effect. The camera, as an image acquisition device, can capture the state information of the flushing fluid in real time and accurately by collecting real-time images of the bladder flushing process, thereby helping to timely discover possible abnormal conditions (such as blood clots, mucus, etc. in urine), so as to take corresponding treatment measures to ensure the safety and effectiveness of the bladder flushing process.

[0047] In the above-mentioned bladder flushing status monitoring system 100 based on image recognition, the image multi-dimensional feature extraction module 120 is used to extract the color features and HOG features of the real-time image of the bladder flushing process to obtain the bladder flushing process color feature vector and the bladder flushing process histogram vector. Figure 3 FIG. 4 is a block diagram of an image multi-dimensional feature extraction module in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application. Figure 3 As shown, the image multi-dimensional feature extraction module 120 includes: a color feature extraction unit 121, which is used to extract the color features of the real-time image of the bladder flushing process using a color histogram to obtain the color feature vector of the bladder flushing process; and a HOG feature extraction unit 122, which is used to extract the image HOG features of the real-time image of the bladder flushing process to obtain the histogram vector of the bladder flushing process.

[0048] Specifically, the color feature extraction unit 121 is used to use a color histogram to extract the color features of the real-time image of the bladder flushing process to obtain the color feature vector of the bladder flushing process. It should be understood that considering that the color feature of the bladder flushing fluid is one of the important indicators for evaluating the bladder flushing state, it can directly reflect the bleeding, infection, etc. in the bladder. For example, the appearance of red in the flushing fluid may indicate bleeding. Therefore, in the technical solution of the present application, a color histogram is further used to extract the color features of the real-time image of the bladder flushing process. Specifically, a color histogram is a statistical method for describing the color distribution in an image. By counting the frequency of occurrence of different colors in the real-time image of the bladder flushing process, a color histogram is generated and converted into a vector form, so that the distribution of each color component in the real-time image of the bladder flushing process can be effectively described, revealing the color features of the bladder flushing fluid, and providing an important basis for subsequent abnormal state identification.

[0049] Figure 4 FIG. 1 is a block diagram of a color feature extraction unit in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application. Figure 4 As shown, the color feature extraction unit 121 includes: a grid division subunit 1211, which is used to grid the real-time image of the bladder flushing process to obtain a sequence of real-time image blocks of the bladder flushing process; a color histogram calculation subunit 1212, which is used to calculate the color histogram of each real-time image block of the bladder flushing process in the sequence of real-time image blocks of the bladder flushing process to obtain a sequence of color histograms; a normalization subunit 1213, which is used to normalize each color histogram in the sequence of color histograms to obtain a sequence of normalized color histogram vectors; a one-dimensional splicing subunit 1214, which is used to perform one-dimensional splicing on the sequence of normalized color histogram vectors to obtain the color feature vector of the bladder flushing process.

[0050] More specifically, the normalization subunit 1213 is used to: divide each element value in the color histogram by the sum of the element values ​​of the color histogram to obtain the normalized color histogram vector.

[0051] Specifically, the HOG feature extraction unit 122 is used to extract the image HOG features of the real-time image of the bladder flushing process to obtain the histogram vector of the bladder flushing process. It should be understood that in addition to color features, information such as turbidity and particle distribution of the bladder flushing fluid is also an important indicator for evaluating the bladder flushing state, which can reflect whether there is infection, stones, etc. in the bladder. Therefore, in the technical solution of the present application, the image HOG (Histogram of Oriented Gradients) feature extraction method is further used to process the real-time image of the bladder flushing process. Specifically, the HOG feature is a local image descriptor widely used in computer vision and image processing. It constructs features by calculating and counting the gradient directional histogram of the local area of ​​the image, and has a good description ability for the local shape and edge features of the image. For the real-time image of the bladder flushing process, by extracting the image HOG features, the texture information of the bladder flushing fluid can be effectively described, and the distribution and quantity of impurities, particles in the bladder flushing fluid can be revealed, providing important supplementary information for subsequent abnormal state recognition.

[0052] Figure 5 FIG. 4 is a block diagram of a HOG feature extraction unit in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application. Figure 5 As shown, the HOG feature extraction unit 122 includes: an image preprocessing subunit 1221, which is used to perform image grayscale and gamma normalization processing on the real-time image of the bladder flushing process to obtain a grayscale image of the bladder flushing process; a gradient calculation subunit 1222, which is used to use a one-dimensional central symmetric operator and its transposition to calculate the gradients in the horizontal and vertical directions of the grayscale image of the bladder flushing process to obtain a gradient map in the horizontal and vertical directions of the bladder flushing process and a gradient map in the vertical direction of the bladder flushing process; a gradient direction amplitude calculation subunit 1223, used to calculate the gradient direction and gradient amplitude of each pixel point in the grayscale image of the bladder flushing process based on the gradient map in the horizontal and vertical directions of the bladder flushing process and the gradient map in the vertical directions of the bladder flushing process; a local area division subunit 1224, used to divide the grayscale image of the bladder flushing process into local areas to obtain a plurality of grayscale image blocks of the bladder flushing process, wherein the grayscale image block of the bladder flushing process is composed of 4 cells, each of which is composed of 8×8 pixels, and the sliding step size of the grayscale image block of the bladder flushing process is 1 cell; a directional gradient histogram statistics subunit 1225, used to calculate the gradient direction of each pixel point in the grayscale image of the bladder flushing process in The interval is evenly divided into 9 gradient direction intervals, and the accumulated value of the gradient amplitude of each pixel point belonging to each gradient direction interval in each bladder flushing process grayscale image block is calculated respectively to obtain the directional gradient histogram vector corresponding to each bladder flushing process grayscale image block, wherein the length of the directional gradient histogram vector is 9; a vectorization subunit 1226 is used to cascade the directional gradient histogram vectors of each bladder flushing process grayscale image block in the bladder flushing process grayscale image according to the scanning order of the bladder flushing process grayscale image to obtain the bladder flushing process histogram vector.

[0053] More specifically, the HOG feature extraction unit 122 is used to calculate the gradient direction and gradient amplitude of each pixel in the grayscale image of the bladder flushing process using the following gradient calculation formula, wherein the gradient calculation formula is:

[0054] ;

[0055] ;

[0056] ;

[0057] ;

[0058] in, The grayscale image of the bladder flushing process The gray value of the pixel at the position, The grayscale image of the bladder flushing process The horizontal coordinate gradient of the pixel point, The grayscale image of the bladder flushing process The vertical coordinate gradient of the pixel point. The grayscale image of the bladder flushing process The gradient amplitude of the pixel at the position, The grayscale image of the bladder flushing process The gradient direction of the pixel at that location.

[0059] In the above-mentioned bladder flushing state monitoring system 100 based on image recognition, the principal component analysis module 130 is used to use principal component analysis to perform feature sparseness on the color feature vector of the bladder flushing process and the histogram vector of the bladder flushing process to obtain a sparse bladder flushing process color feature vector and a sparse bladder flushing process histogram vector. It should be understood that, considering that in practical applications, the extracted color feature vector of the bladder flushing process and the histogram vector of the bladder flushing process often have a high data dimension, and there may be a large amount of redundant information and noise, which will not only increase the computational burden, but also may interfere with subsequent abnormal identification. Therefore, in the technical solution of the present application, principal component analysis (PCA, Principal Component Analysis) is further used to perform feature simplification on the color feature vector of the bladder flushing process and the histogram vector of the bladder flushing process, remove the redundant information and noise therein, and retain the main components in the original data to achieve feature sparseness, thereby effectively reducing the risk of overfitting, significantly reducing the amount of calculation, and improving the processing speed, so that subsequent data processing is more accurate and efficient.

[0060] In the above-mentioned bladder flushing state monitoring system 100 based on image recognition, the multimodal feature dynamic interactive fusion module 140 is used to input the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector into the feature vector dynamic interactive fusion module based on gated response to obtain the multimodal fusion representation feature vector of the bladder flushing process. It should be understood that the color feature and the HOG feature have different focuses when describing the image. The color feature mainly focuses on the color distribution of the image, while the HOG feature focuses more on the texture and edge shape information of the image. Therefore, in order to make full use of the complementarity of the two in describing the bladder flushing state, it is necessary to fuse the two features to more comprehensively reflect the actual situation of the bladder flushing process. Based on this, in the technical solution of the present application, a feature vector dynamic interactive fusion module based on gated response is used to interactively fuse the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector. Among them, the feature vector dynamic interactive fusion module uses a gated response function to perform associated feature learning on the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector, and adaptively adjusts the fusion weights of the two according to the complementarity and correlation between the two, so that the fusion ratio of the two feature vectors can be dynamically adjusted according to the weight and importance of color features and texture features at a specific moment in the bladder flushing process, so as to achieve more accurate feature fusion, effectively avoid the limitations of a single feature, and improve the accuracy of abnormal state recognition.

[0061] Figure 6 FIG. 1 is a block diagram of a multi-modal feature dynamic interaction fusion module in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application. Figure 6 As shown, the multimodal feature dynamic interactive fusion module 140 includes: a feature cascade unit 141, which is used to perform feature cascade on the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector to obtain a bladder flushing process multimodal feature cascade representation vector; an information fusion threshold calculation unit 142, which is used to input the bladder flushing process multimodal feature cascade representation vector into a gated response function to obtain an information fusion response gate; a weighted fusion unit 143, which is used to calculate a difference with the information fusion response gate, and use the information fusion response gate and the difference as weights to calculate the position-weighted sum of the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector to obtain the bladder flushing process multimodal fusion representation feature vector.

[0062] More specifically, the information fusion threshold calculation unit 142 is used to: multiply the multimodal feature cascade representation vector of the bladder flushing process by a predetermined weight vector to obtain an information interaction fusion correlation coefficient; add the information interaction fusion correlation coefficient and a predetermined bias parameter and then activate it through a sigmoid function to obtain a response gate for the information fusion.

[0063] That is, the multimodal feature dynamic interactive fusion module 140 is used to: fuse the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector using the following interactive fusion formula to obtain the multimodal fusion representation feature vector of the bladder flushing process, wherein the interactive fusion formula is:

[0064] ;

[0065] ;

[0066] in, is the sparse bladder washing process color feature vector, is the sparse bladder flushing process histogram vector, is the sigmoid function, is the predetermined weight vector, is the predetermined bias parameter, is the response gate of information fusion, is the multimodal fusion representation feature vector of the bladder washing process.

[0067] In the above-mentioned bladder flushing state monitoring system 100 based on image recognition, the flushing state monitoring module 150 is used to determine whether there is an abnormality in the flushing state based on the multimodal fusion representation feature vector of the bladder flushing process. In a specific example of the present application, the implementation method of determining whether there is an abnormality in the flushing state based on the multimodal fusion representation feature vector of the bladder flushing process is to input the multimodal fusion representation feature vector of the bladder flushing process into a flushing state monitor based on a classifier to obtain a monitoring result, and the monitoring result is used to indicate whether there is an abnormality in the flushing state. That is, the multimodal fusion representation feature vector of the bladder flushing process is automatically classified using a classification algorithm to determine whether there is an abnormality in the bladder flushing process. Among them, the classifier can accurately identify the characteristic patterns of normal flushing state and abnormal flushing state in the bladder flushing process by learning and training a large number of labeled data sets, thereby establishing an effective decision boundary. In this way, the multimodal fusion representation feature vector of the bladder flushing process is input into the trained classifier model. Based on the decision boundary learned by the classifier during the training process, the monitoring results of the bladder flushing status can be obtained quickly and accurately, so that abnormal conditions in the bladder flushing process can be discovered in time, and medical staff can be prompted to take corresponding treatment measures to ensure the safety of the patient and the smooth progress of the bladder flushing process.

[0068] It should be understood that before using the above neural network model, it needs to be trained. That is, in the image recognition-based bladder flushing state monitoring system of the present application, it also includes a training module for training the gated response-based feature vector dynamic interactive fusion module and the classifier-based flushing state monitor.

[0069] Figure 7 FIG. 1 is a block diagram of a training module in a bladder flushing status monitoring system based on image recognition according to an embodiment of the present application. Figure 7As shown, the training module 200 includes: a training data acquisition unit 210, which is used to acquire training data, wherein the training data includes a real-time image of the training bladder flushing process collected by a camera and a true value of whether the flushing state is abnormal; a training image color feature extraction unit 220, which is used to use a color histogram to extract the color features of the real-time image of the training bladder flushing process to obtain a color feature vector of the training bladder flushing process; a training image HOG feature extraction unit 230, which is used to extract the image HOG features of the real-time image of the training bladder flushing process to obtain a histogram vector of the training bladder flushing process; a training image feature sparseness unit 240, which is used to use principal component analysis to perform feature sparseness on the color feature vector of the training bladder flushing process and the histogram vector of the training bladder flushing process to obtain a training sparse bladder flushing process color feature vector and a training image sparse bladder flushing process color feature vector. a training image multimodal feature fusion unit 250, for inputting the training sparse bladder flushing process color feature vector and the training sparse bladder flushing process histogram vector into the feature vector dynamic interactive fusion module based on gated response to obtain a training bladder flushing process multimodal fusion representation feature vector; a classification loss unit 260, for inputting the training bladder flushing process multimodal fusion representation feature vector into the classifier-based flushing status monitor to obtain a classification loss function value; a model training unit 270, for training the gated response-based feature vector dynamic interactive fusion module and the classifier-based flushing status monitor with the classification loss function value, wherein, in each round of iteration of the training, the training bladder flushing process multimodal fusion representation feature vector is iteratively optimized.

[0070] Here, the training sparse bladder flushing process color feature vector and the training sparse bladder flushing process histogram vector respectively express the sparse color histogram features and image HOG features of the real-time image of the training bladder flushing process. Therefore, after the training sparse bladder flushing process color feature vector and the training sparse bladder flushing process histogram vector are input into the feature vector dynamic interactive fusion module based on gated response, the multimodal fusion representation feature vector of the training bladder flushing process obtained will also have a priori-posteriori class probability causal association missing relative to the source feature representation due to the difference in dynamic interactive fusion weights based on gated response under different feature expression modes, thereby affecting the accuracy of the classification results.

[0071] Based on this, in a preferred embodiment of the present application, when the model is trained with the classification loss function value, in each round of iteration of the training, the training bladder flushing process multimodal fusion representation feature vector is iteratively optimized. Specifically, the iterative optimization process specifically includes the following steps: probabilizing each eigenvalue of the training bladder flushing process multimodal fusion representation feature vector through a probability activation function based on a sigmoid function to obtain a probabilistic bladder flushing process multimodal fusion representation feature vector; obtaining an abnormal probability value indicating that the flushing state is abnormal by inputting the training bladder flushing process multimodal fusion representation feature vector into a flushing state monitor based on a classifier; determining a bladder flushing process multimodal fusion representation class cognitive symbol value based on a comparison of each eigenvalue of the probabilistic bladder flushing process multimodal fusion representation feature vector with the abnormal probability value, wherein the bladder flushing process multimodal fusion representation The class recognition symbol value is equal to one, zero and negative one in response to the eigenvalue of the probabilistic bladder flushing process multimodal fusion representation feature vector being greater than, equal to and less than the abnormal probability value, respectively; the mean of all eigenvalues ​​of the probabilistic bladder flushing process multimodal fusion representation feature vector is calculated to obtain the overall phase shift value of the bladder flushing process multimodal fusion representation class; each eigenvalue of the probabilistic bladder flushing process multimodal fusion representation feature vector is multiplied by the bladder flushing process multimodal fusion representation class recognition symbol value and the bladder flushing process multimodal fusion representation class overall phase shift value, and then a weighted difference calculation is performed, and the absolute value is taken to obtain the optimized trained bladder flushing process multimodal fusion representation feature vector.

[0072] That is, the multimodal fusion representation feature vector of the training bladder flushing process is optimized by the following optimization formula to obtain the optimized multimodal fusion representation feature vector of the training bladder flushing process, wherein the optimization formula is:

[0073] ;

[0074] ;

[0075] in, is the probabilistic bladder flushing process multimodal fusion representation feature vector obtained by passing the training bladder flushing process multimodal fusion representation feature vector through the probability activation function. eigenvalues, is the abnormal probability value, The multimodal fusion representation of the cognitive symbol value of the bladder flushing process, is the mean of all eigenvalues ​​in the multimodal fusion representation eigenvector of the probabilistic bladder flushing process, represents multiplication, Indicates taking the absolute value, and represents the weighted hyperparameter, is the first feature vector of multimodal fusion representation of the bladder flushing process after optimization training feature values.

[0076] Here, in the above-mentioned preferred embodiment, the class cognitive phase shift response of the feature vector of the multimodal fusion representation of the training bladder flushing process is obtained by comparing the probabilistic amplitude of the eigenvalue of the feature vector of the multimodal fusion representation of the training bladder flushing process with the class probability, and the phase shift response of the eigenvalue of the feature vector of the multimodal fusion representation of the training bladder flushing process relative to the class probability representation of the feature vector as a whole is subjected to a feature distribution sequence invariance transformation based on the class differential distribution expansion, so as to realize the causal constraint of the posterior class probability of the feature vector of the multimodal fusion representation of the training bladder flushing process on its prior feature distribution representation, so as to improve the accuracy of the monitoring result obtained by the flushing status monitor based on the classifier of the multimodal fusion representation of the training bladder flushing process.

[0077] In summary, the bladder flushing status monitoring system based on image recognition according to the embodiment of the present application is explained, which uses computer vision technology based on deep learning to perform image analysis on real-time images during bladder flushing, extracts the color features and texture features of the image, and then interactively fuses the color features and texture features of the image to form a comprehensive representation of the bladder flushing status, thereby realizing intelligent recognition of abnormal bladder flushing status. In this way, the automation and intelligence level of the bladder flushing process can be significantly improved, the workload of medical staff can be reduced, and at the same time, safer and more reliable medical services can be provided to patients.

[0078] Figure 8 FIG. 1 is a flow chart of a method for monitoring bladder flushing status based on image recognition according to an embodiment of the present application. Figure 8 As shown, according to the embodiment of the present application, the bladder flushing state monitoring method based on image recognition includes the following steps: S1, acquiring a real-time image of the bladder flushing process collected by a camera; S2, extracting the color features and HOG features of the real-time image of the bladder flushing process to obtain a bladder flushing process color feature vector and a bladder flushing process histogram vector; S3, using principal component analysis to perform feature sparseness on the bladder flushing process color feature vector and the bladder flushing process histogram vector to obtain a sparse bladder flushing process color feature vector and a sparse bladder flushing process histogram vector; S4, inputting the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector into a feature vector dynamic interactive fusion module based on gated response to obtain a bladder flushing process multimodal fusion representation feature vector; S5, based on the bladder flushing process multimodal fusion representation feature vector, determining whether there is an abnormality in the flushing state.

[0079] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned bladder flushing state monitoring method based on image recognition have been referred to above. Figures 1 to 7 The description of the bladder flushing state monitoring system based on image recognition has been described in detail, and therefore, its repeated description will be omitted.

[0080] The basic principle of the present invention is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present invention are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present invention. In addition, the specific details of the above embodiments are only for the purpose of illustration and facilitation of understanding, rather than limitation, and the above details do not limit the present invention to being implemented by adopting the above specific details.

[0081] In the above embodiments, the description of each embodiment has its own emphasis. For the parts that are not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. In the several embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system embodiment described above is only schematic. For example, the unit division is only a logical function division, and there may be other division methods in actual implementation. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical sub-unit, that is, it may be located in one place, or it may be distributed on multiple network sub-units. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0082] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference to a figure in a claim should not be considered as limiting the claim to which it relates.

[0083] In addition, it is obvious that the word "comprising" does not exclude other sub-units or steps, and the singular does not exclude the plural. Multiple sub-units stated in the system claim can also be implemented by one sub-unit through software or hardware.

[0084] Finally, it should be noted that the above description has been given for the purpose of illustration and description. In addition, the above embodiments are only used to illustrate the technical solution of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A bladder flushing status monitoring system based on image recognition, characterized in that: include: A real-time monitoring module for the bladder flushing process is used to obtain real-time images of the bladder flushing process collected by a camera; An image multi-dimensional feature extraction module, used to extract color features and HOG features of the real-time image of the bladder flushing process to obtain a bladder flushing process color feature vector and a bladder flushing process histogram vector; A principal component analysis module, configured to perform feature sparseness on the bladder flushing process color feature vector and the bladder flushing process histogram vector using principal component analysis to obtain a sparse bladder flushing process color feature vector and a sparse bladder flushing process histogram vector; A multi-modal feature dynamic interactive fusion module, used for inputting the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector into a feature vector dynamic interactive fusion module based on gated response to obtain a multi-modal fusion representation feature vector of the bladder washing process; A flushing state monitoring module, used to determine whether there is an abnormality in the flushing state based on the multimodal fusion representation feature vector of the bladder flushing process; The multimodal feature dynamic interaction fusion module includes: A feature cascade unit, configured to perform feature cascade on the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector to obtain a bladder washing process multimodal feature cascade representation vector; An information fusion threshold calculation unit, used for inputting the multi-modal feature cascade representation vector of the bladder flushing process into a gated response function to obtain a response gate for information fusion; A weighted fusion unit is used to calculate a difference with the response gate of the information fusion, and use the response gate of the information fusion and the difference as weights to calculate the position-weighted sum of the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector to obtain a multimodal fusion representation feature vector of the bladder flushing process.

2. The bladder flushing status monitoring system based on image recognition according to claim 1, characterized in that: The image multi-dimensional feature extraction module comprises: A color feature extraction unit, configured to extract the color feature of the real-time image of the bladder flushing process using a color histogram to obtain a color feature vector of the bladder flushing process; The HOG feature extraction unit is used to extract the image HOG features of the real-time image of the bladder flushing process to obtain the histogram vector of the bladder flushing process.

3. The bladder flushing status monitoring system based on image recognition according to claim 2, characterized in that: The color feature extraction unit comprises: A grid division subunit, used for performing grid division on the real-time image of the bladder flushing process to obtain a sequence of real-time image blocks of the bladder flushing process; A color histogram calculation subunit, configured to calculate a color histogram of each bladder flushing process real-time image block in the sequence of bladder flushing process real-time image blocks to obtain a sequence of color histograms; A normalization subunit, used for respectively normalizing each color histogram in the sequence of color histograms to obtain a sequence of normalized color histogram vectors; The one-dimensional splicing subunit is used to perform one-dimensional splicing on the sequence of the normalized color histogram vectors to obtain the color feature vector of the bladder flushing process.

4. The bladder flushing status monitoring system based on image recognition according to claim 3 is characterized in that: The normalization subunit is used for: Each element value in the color histogram is divided by the sum of the element values ​​of the color histogram to obtain the normalized color histogram vector.

5. The bladder flushing status monitoring system based on image recognition according to claim 4 is characterized in that: The HOG feature extraction unit comprises: An image preprocessing subunit, used for performing image grayscale and gamma normalization processing on the real-time image of the bladder flushing process to obtain a grayscale image of the bladder flushing process; Gradient calculation subunit for using one-dimensional centrosymmetric operators and its transposition to calculate the gradients in the abscissa direction and the ordinate direction of the grayscale image of the bladder washing process to obtain a gradient map in the abscissa direction of the bladder washing process and a gradient map in the ordinate direction of the bladder washing process; A gradient direction amplitude calculation subunit is used to calculate the gradient direction and gradient amplitude of each pixel point in the grayscale image of the bladder washing process based on the horizontal coordinate direction gradient map of the bladder washing process and the vertical coordinate direction gradient map of the bladder washing process; A local area division subunit, used for performing local area division on the grayscale image of the bladder washing process to obtain a plurality of grayscale image blocks of the bladder washing process, wherein the grayscale image block of the bladder washing process is composed of 4 cells, each of which is composed of 8×8 pixels, and the sliding step length of the grayscale image block of the bladder washing process is 1 cell; The directional gradient histogram statistics subunit is used to calculate the gradient direction of each pixel point in the grayscale image of the bladder flushing process. The interval is evenly divided into 9 gradient direction intervals, and the accumulated value of the gradient amplitude of each pixel point belonging to each gradient direction interval in each grayscale image block of the bladder flushing process is calculated respectively to obtain the directional gradient histogram vector corresponding to each grayscale image block of the bladder flushing process, wherein the length of the directional gradient histogram vector is 9; The vectorization subunit is used to cascade the directional gradient histogram vectors of each bladder washing process grayscale image block in the bladder washing process grayscale image according to the scanning order of the bladder washing process grayscale image to obtain the bladder washing process histogram vector.

6. The bladder flushing status monitoring system based on image recognition according to claim 5, characterized in that: The information fusion threshold calculation unit is used to: Multiplying the multimodal feature cascade representation vector of the bladder flushing process by a predetermined weight vector to obtain an information interaction fusion correlation coefficient; After the information interaction fusion correlation coefficient and the predetermined bias parameter are added, activation processing is performed through a sigmoid function to obtain a response gate for the information fusion.

7. The bladder flushing status monitoring system based on image recognition according to claim 6, characterized in that: The flushing status monitoring module is used for: The multimodal fusion representation feature vector of the bladder flushing process is input into a classifier-based flushing state monitor to obtain a monitoring result, and the monitoring result is used to indicate whether there is an abnormality in the flushing state.

8. The bladder flushing status monitoring system based on image recognition according to claim 7, characterized in that: Also included is a training module for training the gated response-based feature vector dynamic interaction fusion module and the classifier-based flushing state monitor; Wherein, the training module includes: A training data acquisition unit, used to acquire training data, wherein the training data includes a real-time image of the training bladder flushing process collected by a camera and a true value of whether there is an abnormality in the flushing state; A training image color feature extraction unit, used to extract the color features of the real-time image of the training bladder flushing process using a color histogram to obtain a color feature vector of the training bladder flushing process; A training image HOG feature extraction unit, used to extract the image HOG features of the real-time image of the training bladder flushing process to obtain a training bladder flushing process histogram vector; A training image feature thinning unit, used for performing feature thinning on the training bladder flushing process color feature vector and the training bladder flushing process histogram vector using principal component analysis to obtain a training thinned bladder flushing process color feature vector and a training thinned bladder flushing process histogram vector; A training image multimodal feature fusion unit, used for inputting the training sparse bladder flushing process color feature vector and the training sparse bladder flushing process histogram vector into the gated response-based feature vector dynamic interactive fusion module to obtain a training bladder flushing process multimodal fusion representation feature vector; A classification loss unit, used for inputting the multimodal fusion representation feature vector of the training bladder flushing process into the classifier-based flushing state monitor to obtain a classification loss function value; A model training unit is used to train the gated response-based feature vector dynamic interaction fusion module and the classifier-based flushing state monitor with the classification loss function value, wherein in each round of iteration of the training, the multimodal fusion representation feature vector of the training bladder flushing process is iteratively optimized.

9. A method for monitoring bladder flushing status based on image recognition, characterized in that: include: Acquire real-time images of the bladder flushing process collected by a camera; Extracting color features and HOG features of the real-time image of the bladder washing process to obtain a bladder washing process color feature vector and a bladder washing process histogram vector; Performing feature sparseness on the bladder washing process color feature vector and the bladder washing process histogram vector using principal component analysis to obtain a sparse bladder washing process color feature vector and a sparse bladder washing process histogram vector; Inputting the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector into a feature vector dynamic interactive fusion module based on gated response to obtain a bladder washing process multimodal fusion representation feature vector; Determining whether there is an abnormality in the flushing state based on the multimodal fusion representation feature vector of the bladder flushing process; The sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector are input into a feature vector dynamic interactive fusion module based on gated response to obtain a bladder washing process multimodal fusion representation feature vector, including: Performing feature concatenation on the sparse bladder washing process color feature vector and the sparse bladder washing process histogram vector to obtain a bladder washing process multimodal feature concatenation representation vector; Inputting the multimodal feature cascade representation vector of the bladder flushing process into a gated response function to obtain an information fusion response gate; A difference with the response gate of the information fusion is calculated, and the response gate of the information fusion and the difference are used as weights to calculate the position-weighted sum of the sparse bladder flushing process color feature vector and the sparse bladder flushing process histogram vector to obtain the multimodal fusion representation feature vector of the bladder flushing process.