Image processing system and method based on flexible gastrointestinal endoscope robot and electronic equipment

Through the image processing system of the flexible gastroenteroscope robot, including multi-scale decomposition image enhancement and error modeling, the problem of insufficient data model construction in gastroenteroscope robot diagnosis is solved, and the diagnostic accuracy and reliability are improved.

CN118644730AInactive Publication Date: 2024-09-13XIEHE HOSPITAL ATTACHED TO TONGJI MEDICAL COLLEGE HUAZHONG SCI & TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410839790.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing gastroscope robots lack effective data model construction, model comparison, optimization and accuracy compensation during the diagnostic process, resulting in poor image feature extraction accuracy and affecting the diagnostic effect.

Method used

Provides an image processing system based on flexible gastroenteroscope robots, including modules such as data collection, preprocessing, image enhancement, classification, error modeling, error analysis, error identification, error measurement, model training, model optimization and model compensation, through multi-scale Decompose image enhancement, error modeling, and model optimization to improve image data quality and diagnostic accuracy.

Benefits of technology

It improves the quality of image data and diagnostic accuracy, enhances the ability to diagnose gastrointestinal diseases, and ensures the reliability and accuracy of diagnostic results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644730A
    Figure CN118644730A
Patent Text Reader

Abstract

The invention provides an image processing system and method based on a flexible gastrointestinal endoscope robot and electronic equipment, and relates to the technical field of image processing systems, and the system carries out the real-time data collection processing, preprocessing and enhancement processing based on a data collection module, and transmits the data to a display module for output. Based on data classification, modeling, error data processing, error comprehensive model processing, training, optimization, precision compensation, data collection and arrangement and data identification, related data information is analyzed and extracted, similarity, features, rules and data content description comparison, review and data marking are carried out, and data marking content is judged through a judgment module based on set content. And the error modeling module establishes a comprehensive model by adopting modeling, error analysis, recognition and error fusion, optimizes and compensates the model to obtain a high-precision model, and extracts model features to achieve a plurality of comparative analyses for diagnosis effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing systems for flexible gastroscope robots, and in particular to image processing systems, methods and electronic equipment based on flexible gastroscope robots. Background Art

[0002] The gastrointestinal endoscopic robot is an advanced medical system that integrates robotic technology, imaging technology, and navigation and positioning technology. It is used for endoscopic examination and treatment of gastrointestinal diseases. Robotic technology gives the gastrointestinal endoscopic system more precise and stable operating capabilities, improving the accuracy and stability of the operation. The high-resolution imaging system can display clear and detailed gastrointestinal images in real time to assist in diagnosis and treatment decisions. However, some gastrointestinal endoscopic robots need to extract features and make diagnoses based on images. They lack data model construction and model comparison, optimization, and accuracy compensation. When extracting features from images and using big data for comparison, some features have poor contrast effects due to poor accuracy. Summary of the invention

[0003] The purpose of the present invention is to address the deficiencies of the prior art and provide an image processing system, method and electronic equipment based on a flexible gastroscope robot, aiming to collect data and classify it after preprocessing and enhancement, and perform error modeling based on the classified data, compare and model the image data and classified data, and train, optimize and compensate the model for comparative diagnosis and review.

[0004] To this end, the present application provides an image processing system for a flexible gastroscopy robot, comprising the following modules: The data acquisition module, based on multiple micro cameras and sensors, collects image information and data from the gastrointestinal tract in real time; A preprocessing module performs preprocessing based on collected image information and data; Image enhancement module, based on preprocessed image information enhancement; A display module, used for receiving the image enhanced data transmitted by the image enhancement module; Display component, used to receive data transmitted by the display module and display image data; A classification module, including a one-classification port, a two-classification port and a three-classification port, based on the classification of collected data parameters and image data transmission; Error modeling module, which establishes rigid body motion model, deformation model, heat conduction model and electromagnetic field model based on classified data, and calibrates model parameters; Error analysis module, which analyzes the mechanism error, sensor noise and thermal noise error sources based on the calibration model parameters; The error identification module identifies the error source based on the analysis of error data, and fuses multi-source errors to establish a comprehensive error model; The error measurement module performs measurement calculations based on the accuracy of the comprehensive error model, and annotates and edits the training steps based on the accuracy evaluation; Model training module, used for training data by measuring data training steps; Model optimization module, which performs optimization based on training data results; Model compensation module, based on optimizing data error compensation accuracy; The data integration module identifies and analyzes the content of the received data and communicates with the cloud deployment module based on the identified and analyzed content; Cloud deployment module, used to store large amounts of data and communicate with the data integration module; The diagnosis module, based on the data transmitted by the data integration module and intercommunication with the learning module, finally provides diagnosis suggestions; The learning module is based on the data exchange of the diagnosis module and analyzes the data similarity; The review module reviews the data based on the diagnostic suggestions given by the diagnosis module and the learning module; A marking module, used to mark the review data results; An extension module includes a module extension port, the module extension port transmits data, and processes the extension data content and transmission based on the extension module; A setting module, used to set the determination content of the determination module; The determination module performs determination processing based on the set content and the marking data.

[0005] In some specific embodiments, the data acquisition module, based on multiple micro cameras and sensors, realizes real-time acquisition of image information and data in the gastrointestinal tract; The preprocessing module performs preprocessing based on the collected image information and data content, cleans, annotates and extracts features from the collected raw data, and uses denoising, difference, interpolation and feature engineering data preprocessing techniques; Clean the raw data, eliminate noise and anomalies, improve data quality, adopt missing value processing, and fill missing values ​​through linear interpolation; Image enhancement module, based on preprocessed image information enhancement, adopts multi-scale decomposition image enhancement method; The core of the multi-scale decomposition image enhancement method is to decompose the input image at different scales, process the components of each scale separately, and finally resynthesize the processed components to obtain the enhanced output image; Select Haar wavelet and Daubechies wavelet, and perform hierarchical wavelet decomposition transformation on the input image. The decomposition result is a series of approximate components and detail components of different scales. The approximate components describe the low-frequency components of the image, and the detail components describe the high-frequency components. According to the enhancement target, the components of different scales are processed accordingly. For the low-frequency approximate components, smoothing or sharpening and histogram equalization are performed to adjust the overall contrast and brightness of the image. For the high-frequency detail components, enhancement and denoising are performed. The coefficients of the detail components are amplified to enhance the details, and the coefficients are thresholded to remove noise. After component processing, the modified coefficients of each scale component are input into the wavelet reconstruction algorithm corresponding to the decomposition process.

[0006] In some specific embodiments, the display module is used to receive the image-enhanced data transmitted by the image enhancement module, and process and transmit the data to the display component; A display component is used to receive data transmitted by the display module and output the data for display; Based on a classification port, the classification module outputs the deformation data through the classification port; Based on the binary classification port, the classification module outputs temperature data through the binary classification port; Based on the three-classification port, the classification module outputs humidity data through the three-classification port; The one-class port, the two-class port and the three-class port are all connected to the error modeling module and transmit data in real time.

[0007] In some specific embodiments, the error modeling module establishes a rigid body motion model, a deformation model, a heat conduction model, an electromagnetic field model, and a flexible gastroscope robot mechanism model based on the classified data, and calibrates the model parameters; By measuring the geometric and mass properties of the rigid body, selecting the appropriate coordinate system and representation method, establishing kinematic and dynamic equations, handling constraints, calibrating and verifying model parameters, simplifying and discretizing model steps, and integrating error modeling, a mathematical model that can accurately describe the motion of the rigid body is finally obtained; Select a suitable constitutive model according to the mechanical properties of the material, establish a geometric model and perform meshing, derive the governing equations of continuous medium mechanics, apply boundary conditions and loads, and use numerical methods to solve them to obtain analytical solutions of stress, strain and displacement fields. Finally, through post-processing, visualization, verification and correction steps, a mathematical model that can accurately describe the deformation behavior of the flexible body is obtained; Error analysis module, which analyzes the error sources of mechanism error, sensor noise and thermal noise based on calibration model parameters; For the mechanism error, numerical calculation is used to quantitatively analyze the influence of each error source on the end-of-mechanism posture accuracy, find out the main influencing factors, and use Taylor series expansion to perform qualitative error analysis. For sensor noise, the sensor is experimentally measured under known conditions, the relationship between sensor output and actual input is recorded, the discreteness and stability of the output are analyzed, and the sensor noise level is estimated. As the size of thermal noise is related to temperature, the temperature needs to be measured and modeled. Based on the temperature data, a temperature model is established, and the intensity and spectral characteristics of thermal noise are estimated through the temperature model. The error identification module identifies the error source based on the analysis of error data, and fuses multi-source errors to establish a comprehensive error model; Based on multi-source error data and pre-processing, ensure data quality and consistency; Analyze the error sources and characteristics, establish a separate model for each error source, and determine the weights and correlations, merge the separate error models, establish a comprehensive error model, use nonlinear combination methods, verify and adjust the model, use independent test data sets for verification, and optimize and adjust the model based on the verification results; The error measurement module performs measurement calculations based on the accuracy of the comprehensive error model, and annotates and edits the training steps based on the accuracy evaluation; Clearly evaluate the accuracy of position error, attitude error and trajectory tracking error; Testing includes selecting appropriate test objects, defining test conditions and methods, and comprehensively evaluating accuracy; Collect motion data of the flexible robot under different working conditions, including measurement data of position, posture and force-related sensors; Preprocess the collected data, including noise removal and data alignment; Using the comprehensive error model, the preprocessed data is calculated to obtain the prediction error for each test case. The calculated error data is statistically analyzed, including the calculation of the average error, standard deviation, and maximum error. According to the pre-set standards and requirements, the accuracy is evaluated and labeled, the classification standards are adopted, and the relevant training steps are set; In some specific embodiments, the model training module is used for the training step of measuring data to perform training processing on the data; Perform training processing on the data based on the training step suggestions provided by the measurement module; Divide the collected data set into training set and test set, use most of the data for training, and keep a small part of the data as the test set. Clean the data, remove outliers, missing values ​​or noise data, normalize the data, scale the values ​​of different features to a similar range, increase the diversity of the training set by applying various transformations or data expansion methods, and perform feature engineering to extract more informative features according to the characteristics of the problem. Model optimization module, which performs optimization processing based on training data results; Analyze the model output results to determine whether post-processing is needed, use probability calibration, smoothing and correction to improve the accuracy and robustness of the model, use feature selection algorithms to select features that have the greatest impact on target prediction, reduce the dimension of feature space, improve the efficiency and generalization ability of the model, evaluate the performance of the model under different hyperparameter settings, and use the best hyperparameter combination, use optimization algorithms to search the hyperparameter space, and obtain the best model performance; By combining the prediction results of multiple models, reducing errors and improving overall performance, the model integration method is adopted to obtain more accurate and stable prediction results; Model compensation module, based on optimizing data error compensation accuracy; Optimizing the accuracy of data error compensation is mainly based on iterative optimization; Determine whether to stop iteration based on predefined convergence conditions, and determine whether convergence is achieved based on changes in the loss function, parameter change thresholds, or other indicators.

[0008] In some specific embodiments, the data integration module identifies and analyzes the content of the received data, and communicates with the cloud deployment module based on the identified and analyzed content; Used for data processing and data organization, and planning transmission targets based on received data; The information transmitted by the model compensation module is planned as the initial data, and the initial data is identified and analyzed, and the cloud deployment module communicates with the cloud deployment module to find relevant data information, and processes and organizes the data according to the data situation and transmits it to the diagnosis module; The data transmitted by the review module is planned as follow-up data, and the review data is processed and sorted again, and then transmitted to the diagnosis module after data intercommunication with the cloud deployment module; Cloud deployment module, used to store large amounts of data and communicate with the data integration module; Based on the data marking and backup storage of the data in the data integration module, the relevant data content is queried according to the data content and transmitted to the data integration module; The diagnosis module, based on the data transmitted by the data integration module and intercommunication with the learning module, finally provides diagnosis suggestions; The diagnosis module is based on the data content transmitted by the data integration module and communicates with the learning module for diagnosis. According to the data content similarity comparison, feature comparison, regularity and data content description comparison, the learning module serves as the basic auxiliary diagnosis module to diagnose the data, summarize the diagnosis content, and generate the diagnosis result data; The learning module is based on the data exchange of the diagnosis module and analyzes the data similarity; The learning module is based on the data transmitted by the diagnostic module, analyzes and compares the data content, assists the diagnostic module in diagnosis based on the data content, and uses convolutional neural networks for deep learning; During the training process, the validation set is used to evaluate the model performance, hyperparameters are adjusted based on the evaluation results, the model performance on the training set and validation set is visualized, overfitting or underfitting is analyzed, and model averaging is used to further improve performance; Evaluate the final model performance on an independent test set, deploy the trained model in actual application scenarios, and compress and accelerate the model according to actual conditions to improve efficiency and performance in actual applications; The review module reviews the data based on the diagnostic suggestions given by the diagnosis module and the learning module; Based on the final diagnostic recommendation data given by the diagnostic module and the learning module, the diagnostic result data is re-diagnosed, and the feature similarity is reviewed based on the data content; If the audit similarity is too low, the data will be sent back to the data integration module. If the audit similarity is sufficient, it will be transmitted to the marking module. Eighty percent of the similarity will be set as the dividing line, and labels will be set according to the review content, namely non-symptom, suspected symptom and symptom; A marking module is used to mark the review data results and perform marking processing based on the data tags transmitted by the review module; Mark non-symptom data as green, suspected symptom data as blue, and symptom data as red; An extension module includes a module extension port, the module extension port transmits data, and processes the extension data content and transmission based on the extension module; Module expansion port, used to input extended data, for data expansion of diagnostic modules; The expansion module processes the expansion data transmitted based on the module expansion port, detects the availability of the expansion data, and further optimizes the expansion data.

[0009] In some specific implementations, the setting module is used to determine the determination content set by the determination module; The judgment module makes judgments and processes in real time based on the set content and the marked data; A control module issues execution instructions based on the determination data results; The driving execution module runs the timing execution program based on the execution instructions issued by the control module; A task module, performs A-type tasks based on execution instructions; B task module, performs B-type tasks based on execution instructions; An interactive module, used for receiving instructions from a user terminal; Negation module, used to cancel the driver execution module instruction; Notification module, used for outputting notification data; The user end is used to receive notification data and input instructions; In some specific implementations, the setting module is used to determine the determination content set by the determination module; The determination content is set to perform determination processing in real time based on the content of the marked data; The judgment module makes judgments and processes in real time based on the set content and the marked data; Based on the judgment content set by the setting module, the judgment result is obtained: Result 1: if the obtained marked data is green, it is determined to be non-symptom data and transmitted to the notification module, which then transmits it to the user end; Result 2: if the marked data is blue, it is determined to be suspected disease data and transmitted to the control module, which is then transmitted to the drive execution module, which is then transmitted to the A task module; Result three, if the obtained marked data is red, it is determined to be disease data and transmitted to the control module, which is then transmitted to the drive execution module, which is then transmitted to the B task module; A control module issues execution instructions based on the determination data results; Based on the determined data, and according to the first or second determination result, an A task or a B task execution instruction is issued to the driving execution module, and the execution instruction is transmitted to the driving execution module; The driving execution module runs the timing execution program based on the execution instructions issued by the control module; When the control module issues an execution instruction to the driver execution module, the driver execution module will run the countdown program and transmit the execution instruction to the user end in the form of a notification pop-up window. When the countdown ends, the A task module or the B task module will be executed according to the execution instruction. Define global variables through Python, use thread synchronization mechanism, provide countdown start function, implement countdown logic, execute commands, error handling and recovery, add cancel flag, modify countdown logic, provide countdown cancel function, and clean up operations; A task module, performs A-type tasks based on execution instructions; When the driving execution module timing program structure, the A task module receives the driving execution module execution data, then it will execute the drug spraying task; B task module, performs B-type tasks based on execution instructions; When the driving execution module timing program structure, the B task module receives the driving execution module execution data, it will perform the disease sampling and drug spraying tasks; An interactive module, used for receiving instructions from the user end; When the user terminal sends a cancellation instruction to the interaction module, the interaction module will accept the instruction sent by the user terminal, confirm and transmit the instruction; Negation module, used to cancel the driver execution module instruction; Based on the cancel instruction transmitted by the interaction module, a cancel timing instruction is transmitted to the driving execution module.

[0010] The present application also provides an intelligent imaging diagnosis method, comprising the following steps: S100, performing real-time data collection and processing based on the data collection module, and preprocessing the collected data; S200, performing image enhancement processing based on the pre-processed data, and transmitting the image to the display module for output; S300, classifying based on preprocessed data and image enhancement data, and performing modeling, error data processing, and error comprehensive model data processing; S400, performing training processing based on modeling, error data and error comprehensive model data, and performing optimization and precision compensation processing; S500, based on the data collection and sorting after training, optimization and compensation, and identifying, analyzing and extracting relevant data information based on the data integration module and the cloud deployment module; S600, based on the extracted data and the collected data, perform a comparison and diagnosis of similarity, feature, regularity and data content description, and review and mark the data; S700, judging the data tag content through the judging module based on the set content, and timing the execution of task module A or task module B; S800: cancel the timed execution task based on the instruction sent by the user terminal.

[0011] The image processing system of the flexible gastroscope robot provided in the present application performs real-time data acquisition processing, preprocessing, enhancement processing and transmission to the display module for output based on the data acquisition module, and extracts relevant data information based on the data classification, modeling, error data processing, error comprehensive model processing, training, optimization, precision compensation, data collection and collation, data identification, analysis, and comparison, review and marking of similarity, characteristics, rules, and data content descriptions. The data marking content is judged by the judgment module based on the set content, and the A task module or the B task module is executed in a timed manner and output to the notification module. The error modeling module uses modeling, error analysis, identification, and error fusion to establish a comprehensive model, and optimizes and compensates the model to obtain a higher-precision model, and extracts model features to achieve multiple comparative analyses for diagnostic effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0013] Figure 1 This is an overall flow chart of the flexible gastroenteroscope robot image processing system provided in an embodiment of the present application.

[0014] Figure 2 A modeling flowchart of the flexible gastroenteroscope robot image processing system provided in an embodiment of the present application.

[0015] Figure 3 This is a determination flow chart of the flexible gastroenteroscope robot image processing system provided in an embodiment of the present application.

[0016] Figure 4 A method flow chart of a flexible gastroenteroscope robot image processing system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0019] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] Please refer to Figure 1 , Figure 2 and Figure 3 , which shows the process of an embodiment of the image processing system of the flexible gastrointestinal endoscopic robot according to the present disclosure.

[0024] like Figure 1 , Figure 2 and Figure 3 As shown, the image processing system of the flexible gastroenteroscope robot includes the following modules: The data acquisition module, based on multiple micro cameras and sensors, collects image information and data from the gastrointestinal tract in real time; A preprocessing module performs preprocessing based on collected image information and data; Image enhancement module, based on preprocessed image information enhancement; A display module, used for receiving the image enhanced data transmitted by the image enhancement module; Display component, used to receive data transmitted by the display module and display image data; A classification module, including a one-classification port, a two-classification port and a three-classification port, based on the classification of collected data parameters and image data transmission; Error modeling module, which establishes rigid body motion model, deformation model, heat conduction model and electromagnetic field model based on classified data, and calibrates model parameters; Error analysis module, which analyzes the error sources of mechanism error, sensor noise and thermal noise based on calibration model parameters; The error identification module identifies the error source based on the analysis of error data, and fuses multi-source errors to establish a comprehensive error model; The error measurement module performs measurement calculations based on the accuracy of the comprehensive error model, and annotates and edits the training steps based on the accuracy evaluation; Model training module, used for training data by measuring data training steps; Model optimization module, which performs optimization based on training data results; Model compensation module, based on optimizing data error compensation accuracy; The data integration module identifies and analyzes the content of the received data and communicates with the cloud deployment module based on the identified and analyzed content; Cloud deployment module, used to store large amounts of data and communicate with the data integration module; The diagnosis module, based on the data transmitted by the data integration module and intercommunication with the learning module, finally provides diagnosis suggestions; The learning module is based on the data exchange of the diagnosis module and analyzes the data similarity; The review module reviews the data based on the diagnostic suggestions given by the diagnosis module and the learning module; A marking module, used to mark the review data results; An extension module includes a module extension port, the module extension port transmits data, and processes the extension data content and transmission based on the extension module; A setting module, used to set the determination content of the determination module; A determination module performs determination processing based on set content and marking data; Among them, the data acquisition module, preprocessing module and image enhancement module in the above content are specifically: the data acquisition module, based on multiple micro cameras and sensors, realizes real-time acquisition of image information and data in the gastrointestinal tract; The preprocessing module performs preprocessing based on the collected image information and data content, cleans, annotates and extracts features from the collected raw data, and uses denoising, difference, interpolation and feature engineering data preprocessing techniques; Clean the raw data, eliminate noise and anomalies, improve data quality, adopt missing value processing, and fill missing values ​​through linear interpolation; Image enhancement module, based on preprocessed image information enhancement, adopts multi-scale decomposition image enhancement method; The core of the multi-scale decomposition image enhancement method is to decompose the input image at different scales, process the components of each scale separately, and finally resynthesize the processed components to obtain the enhanced output image, specifically: Select Haar wavelet and Daubechies wavelet, and perform hierarchical wavelet decomposition transformation on the input image. The decomposition result is a series of approximate components and detail components of different scales. The approximate components describe the low-frequency components of the image, and the detail components describe the high-frequency components. According to the enhancement target, the components of different scales are processed accordingly. For the low-frequency approximate components, smoothing or sharpening and histogram equalization are performed to adjust the overall contrast and brightness of the image. For the high-frequency detail components, enhancement and denoising are performed. The coefficients of the detail components are amplified to enhance the details, and the coefficients are thresholded to remove noise. After component processing, the modified coefficients of each scale component are input into the wavelet reconstruction algorithm corresponding to the decomposition process.

[0025] Among them, in the above content, the display module, display component and classification module are specifically: A display module is used to receive the image enhanced data transmitted by the image enhancement module, and process the data and transmit it to the display component; A display component is used to receive data transmitted by the display module and output the data for display; Based on a classification port, the classification module outputs the deformation data through the classification port; Based on the binary classification port, the classification module outputs temperature data through the binary classification port; Based on the three-classification port, the classification module outputs humidity data through the three-classification port; The one-class port, the two-class port and the three-class port are all connected to the error modeling module and transmit data in real time.

[0026] Among them, in the above content, the error modeling module, the error analysis module, the error identification module and the error measurement module are specifically: Error modeling module, which establishes rigid body motion model, deformation model, heat conduction model, electromagnetic field model and flexible gastroscope robot mechanism model based on classified data, and calibrates model parameters; By measuring the geometric and mass properties of the rigid body, selecting the appropriate coordinate system and representation method, establishing kinematic and dynamic equations, handling constraints, calibrating and verifying model parameters, simplifying and discretizing model steps, and integrating error modeling, a mathematical model that can accurately describe the motion of the rigid body is finally obtained; Select a suitable constitutive model according to the mechanical properties of the material, establish a geometric model and perform meshing, derive the governing equations of continuous medium mechanics, apply boundary conditions and loads, and use numerical methods to solve them to obtain analytical solutions of stress, strain and displacement fields. Finally, through post-processing, visualization, verification and correction steps, a mathematical model that can accurately describe the deformation behavior of the flexible body is obtained; Error analysis module, which analyzes the mechanism error, sensor noise and thermal noise error sources based on the calibration model parameters; For the mechanism error, numerical calculation is used to quantitatively analyze the influence of each error source on the end-of-mechanism posture accuracy, find out the main influencing factors, and use Taylor series expansion to perform qualitative error analysis. For sensor noise, the sensor is experimentally measured under known conditions, the relationship between sensor output and actual input is recorded, the discreteness and stability of the output are analyzed, and the sensor noise level is estimated. As the size of thermal noise is related to temperature, the temperature needs to be measured and modeled. Based on the temperature data, a temperature model is established, and the intensity and spectral characteristics of thermal noise are estimated through the temperature model. The error identification module identifies the error source based on the analysis of error data, and fuses multi-source errors to establish a comprehensive error model; Based on multi-source error data and pre-processing, ensure data quality and consistency; Analyze the error sources and characteristics, establish a separate model for each error source, and determine the weights and correlations, merge the separate error models, establish a comprehensive error model, use nonlinear combination methods, verify and adjust the model, use independent test data sets for verification, and optimize and adjust the model based on the verification results; The error measurement module performs measurement calculations based on the accuracy of the comprehensive error model, and annotates and edits the training steps based on the accuracy evaluation; Clearly evaluate the accuracy of position error, attitude error and trajectory tracking error; Testing includes selecting appropriate test objects, defining test conditions and methods, and comprehensively evaluating accuracy; Collect motion data of the flexible robot under different working conditions, including measurement data of position, posture and force-related sensors; Preprocess the collected data, including noise removal and data alignment; Using the comprehensive error model, the preprocessed data is calculated to obtain the prediction error for each test case. The calculated error data is statistically analyzed, including the calculation of the average error, standard deviation, and maximum error. According to the pre-set standards and requirements, the accuracy is evaluated and labeled, the classification standards are adopted, and the relevant training steps are set; Among them, in the above content, the model training module, model optimization module and model compensation module are specifically: Model training module, used for training data by measuring data training steps; Perform training processing on the data based on the training step suggestions provided by the measurement module; Divide the collected data set into training set and test set, use most of the data for training, and keep a small part of the data as the test set; Clean the data, remove outliers, missing values ​​or noise data, normalize the data, scale the values ​​of different features to a similar range, increase the diversity of the training set by applying various transformations or data expansion methods, and perform feature engineering to extract more informative features based on the characteristics of the problem; Model optimization module, which performs optimization processing based on training data results; Analyze the model output results to determine whether post-processing is needed, use probability calibration, smoothing and correction to improve the accuracy and robustness of the model, use feature selection algorithms to select features that have the greatest impact on target prediction, reduce the dimension of feature space, improve the efficiency and generalization ability of the model, evaluate the performance of the model under different hyperparameter settings, and use the best hyperparameter combination, use optimization algorithms to search the hyperparameter space, and obtain the best model performance; By combining the prediction results of multiple models, reducing errors and improving overall performance, the model integration method is adopted to obtain more accurate and stable prediction results; Model compensation module, based on optimizing data error compensation accuracy; Optimizing the accuracy of data error compensation is mainly based on iterative optimization; Determine whether to stop iteration based on predefined convergence conditions, and determine whether convergence is achieved based on changes in the loss function, parameter change thresholds, or other indicators.

[0027] Among them, the data integration module, cloud deployment module, diagnosis module, learning module, review module, marking module and extension module in the above contents are specifically: The data integration module identifies and analyzes the content of the received data and communicates with the cloud deployment module based on the identified and analyzed content; Used for data processing and data organization, and planning transmission targets based on received data; The information transmitted by the model compensation module is planned as the initial data, and the initial data is identified and analyzed, and the cloud deployment module communicates with the cloud deployment module to find relevant data information, and processes and organizes the data according to the data situation and transmits it to the diagnosis module; The data transmitted by the review module is planned as follow-up data, and the review data is processed and sorted again, and then transmitted to the diagnosis module after data intercommunication with the cloud deployment module; Cloud deployment module, used to store large amounts of data and communicate with the data integration module; Based on the data marking and backup storage of the data in the data integration module, the relevant data content is queried according to the data content and transmitted to the data integration module; The diagnosis module, based on the data transmitted by the data integration module and intercommunication with the learning module, finally provides diagnosis suggestions; The diagnosis module is based on the data content transmitted by the data integration module and communicates with the learning module for diagnosis. According to the data content similarity comparison, feature comparison, regularity and data content description comparison, the learning module serves as the basic auxiliary diagnosis module to diagnose the data, summarize the diagnosis content, and generate the diagnosis result data; The learning module is based on the data exchange of the diagnosis module and analyzes the data similarity; The learning module is based on the data transmitted by the diagnostic module, analyzes and compares the data content, assists the diagnostic module in diagnosis based on the data content, and uses convolutional neural networks for deep learning; During the training process, the validation set is used to evaluate the model performance, hyperparameters are adjusted based on the evaluation results, the model performance on the training set and validation set is visualized, overfitting or underfitting is analyzed, and model averaging is used to further improve performance; Evaluate the final model performance on an independent test set, deploy the trained model in actual application scenarios, and compress and accelerate the model according to actual conditions to improve efficiency and performance in actual applications; The review module reviews the data based on the diagnostic suggestions given by the diagnosis module and the learning module; Based on the final diagnostic recommendation data given by the diagnostic module and the learning module, the diagnostic result data is re-diagnosed, and the feature similarity is reviewed based on the data content; If the audit similarity is too low, the data will be sent back to the data integration module. If the audit similarity is sufficient, it will be transmitted to the marking module. Eighty percent of the similarity will be set as the dividing line, and labels will be set according to the review content, namely non-symptom, suspected symptom and symptom; A marking module, used to mark the review data results; Perform labeling processing based on the data tags transmitted by the review module; Mark non-symptom data as green, suspected symptom data as blue, and symptom data as red; An extension module includes a module extension port, the module extension port transmits data, and processes the extension data content and transmission based on the extension module; Module expansion port, used to input extended data, for data expansion of diagnostic modules; The expansion module processes the expansion data transmitted based on the module expansion port, detects the availability of the expansion data, and further optimizes the expansion data.

[0028] Among them, in the above content, the determination module includes the following modules: A setting module, used for determining the determination content set by the determination module; The judgment module makes judgments and processes in real time based on the set content and the marked data; A control module issues execution instructions based on the determination data results; The driving execution module runs the timing execution program based on the execution instructions issued by the control module; A task module, performs A-type tasks based on execution instructions; B task module, performs B-type tasks based on execution instructions; An interactive module, used for receiving instructions from a user terminal; Negation module, used to cancel the driver execution module instruction; Notification module, used for outputting notification data; The user end is used to receive notification data and input instructions; Among the above contents, the setting module, the determination module, the control module, the drive execution module, the A task module, the B task module, the interaction module, the negation module, the notification module and the user end are specifically: A setting module, used for determining the determination content set by the determination module; The determination content is set to perform determination processing in real time based on the content of the marked data; The judgment module makes judgments and processes in real time based on the set content and the marked data; Based on the judgment content set by the setting module, the judgment result is obtained: Result 1: if the obtained marked data is green, it is determined to be non-symptom data and transmitted to the notification module, which then transmits it to the user end; Result 2: if the marked data is blue, it is determined to be suspected disease data and transmitted to the control module, which is then transmitted to the drive execution module, which is then transmitted to the A task module; Result three, if the obtained marked data is red, it is determined to be disease data and transmitted to the control module, which is then transmitted to the drive execution module, which is then transmitted to the B task module; A control module issues execution instructions based on the determination data results; Based on the determined data, and according to the first or second determination result, an A task or a B task execution instruction is issued to the driving execution module, and the execution instruction is transmitted to the driving execution module; The driving execution module runs the timing execution program based on the execution instructions issued by the control module; When the control module issues an execution instruction to the driver execution module, the driver execution module will run the countdown program and transmit the execution instruction to the user end in the form of a notification pop-up window. When the countdown ends, the A task module or the B task module will be executed according to the execution instruction. Define global variables through Python, use thread synchronization mechanism, provide countdown start function, implement countdown logic, execute commands, error handling and recovery, add cancel flag, modify countdown logic, provide countdown cancel function, and clean up operations; A task module, performs A-type tasks based on execution instructions; When the driving execution module timing program structure, the A task module receives the driving execution module execution data, then it will execute the drug spraying task; B task module, performs B-type tasks based on execution instructions; When the driving execution module timing program structure, the B task module receives the driving execution module execution data, it will perform the disease sampling and drug spraying tasks; An interactive module, used for receiving instructions from a user terminal; When the user terminal sends a cancellation instruction to the interaction module, the interaction module will accept the instruction sent by the user terminal, confirm and transmit the instruction; Negation module, used to cancel the driver execution module instruction; Based on the cancel instruction transmitted by the interaction module, a cancel timing instruction is transmitted to the driving execution module.

[0029] like Figure 4 As shown, the image processing method of the flexible gastrointestinal endoscopic robot includes the following steps: S100, performing real-time data collection and processing based on the data collection module, and preprocessing the collected data; S200, performing image enhancement processing based on the pre-processed data, and transmitting the image to the display module for output; S300, classifying based on preprocessed data and image enhancement data, and performing modeling, error data processing, and error comprehensive model data processing; S400, performing training processing based on modeling, error data and error comprehensive model data, and performing optimization and precision compensation processing; S500, based on the data collection and sorting after training, optimization and compensation, and identifying, analyzing and extracting relevant data information based on the data integration module and the cloud deployment module; S600, based on the extracted data and the collected data, perform a comparison and diagnosis of similarity, feature, regularity and data content description, and review and mark the data; S700, judging the data tag content through the judging module based on the set content, and timing the execution of task module A or task module B; S800: cancel the timed execution task based on the instruction sent by the user terminal.

[0030] Example 1 like Figure 1 As shown, based on the data acquisition module, the data is collected and transmitted to the preprocessing module, the preprocessing module preprocesses the image data and parameter data and transmits them to the image enhancement module, the image enhancement module enhances the image data and transmits it to the display module, the display module outputs the image data to the display component, based on the image enhancement module, the image data and parameter data are transmitted to the classification module, the classification module classifies the data based on a one-classification port, a two-classification port and a three-classification port and transmits it to the error modeling module, the error modeling module processes the data and transmits it to the judgment module, the judgment module performs judgment processing based on the judgment content set by the setting module, and transmits the data to the notification module, and the notification module outputs the data to the user end.

[0031] Example 2 like Figure 2 As shown, the data obtained by the error modeling module is modeled and processed, and transmitted to the error analysis module, the error analysis module analyzes and processes the data, and transmits it to the error identification module, the error identification module processes the data, and transmits it to the error measurement module, the error measurement module processes the data, and transmits it to the model training module, the model training module trains the data, and transmits it to the model optimization module, the model optimization module optimizes the data, and transmits it to the model compensation module, the model compensation module compensates the data, and transmits it to the data integration module; Based on the data identification and analysis obtained by the data integration module, and the data exchange with the cloud deployment module, relevant data is extracted and transmitted to the data integration module, which organizes the data and transmits it to the diagnosis module. The diagnosis module identifies and analyzes the data, processes the data based on the learning module, and transmits it to the review module. The review module reviews and compares the data, and transmits it back to the data integration module and to the marking module according to the degree of compliance; Based on the review module, the data is transmitted back to the data integration module. The data integration module communicates with the cloud deployment module based on the returned data, extracts relevant data and transmits it to the diagnosis module for further diagnosis. Based on the review module, the data is transmitted to the marking module. The marking module marks the data and sends it to the judgment module. The judgment module judges the data and transmits it to the notification module. The notification module outputs the data to the user end.

[0032] Example 3 like Figure 3As shown, based on the determination content set by the setting module to the determination module, the setting content is that the determination processing is performed in real time based on the content of the marking data, the determination module performs determination processing based on the marking data transmitted by the marking module, and based on the determination result, the determination module transmits the data to the control module, the control module processes the data and issues an execution instruction to the drive execution module, and the drive execution module runs the timing program after receiving the instruction and notifies the user end; Based on the timing program data running in the driving execution module, when the timing ends, the driving execution module will transmit the instruction content issued by the control module to the A task module or the B task module, and the A task module or the B task module will perform the task execution operation; Based on the timing program data running in the driving execution module, the driving execution module will notify the user end. When the user end issues a cancel execution instruction, the data will be transmitted to the interaction module. The interaction module processes the data and transmits it to the negation module. The negation module processes the data and issues a cancel instruction to transmit it to the driving execution module. After receiving the instruction, the driving execution module will cancel the timing program and cancel the data transmission.

[0033] The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0034] For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program codes for executing the method shown in the flowchart.

[0035] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0036] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0037] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. An image processing system for a flexible gastroenteroscopic robot, characterized in that: Includes the following modules: The data acquisition module, based on multiple micro cameras and sensors, collects image information and data from the gastrointestinal tract in real time; A preprocessing module performs preprocessing based on collected image information and data; Image enhancement module, based on preprocessed image information enhancement; A display module, used for receiving the image enhanced data transmitted by the image enhancement module; Display component, used to receive data transmitted by the display module and display image data; A classification module, including a one-classification port, a two-classification port and a three-classification port, based on the classification of collected data parameters and image data transmission; Error modeling module, which establishes rigid body motion model, deformation model, heat conduction model and electromagnetic field model based on classified data, and calibrates model parameters; Error analysis module, which analyzes the mechanism error, sensor noise and thermal noise error sources based on the calibration model parameters; The error identification module identifies the error source based on the analysis of error data, and fuses multi-source errors to establish a comprehensive error model; The error measurement module performs measurement calculations based on the accuracy of the comprehensive error model, and annotates and edits the training steps based on the accuracy evaluation; Model training module, used for training data by measuring data training steps; Model optimization module, which performs optimization based on training data results; Model compensation module, based on optimizing data error compensation accuracy; The data integration module identifies and analyzes the content of the received data and communicates with the cloud deployment module based on the identified and analyzed content; Cloud deployment module, used to store large amounts of data and communicate with the data integration module; The diagnosis module, based on the data transmitted by the data integration module and intercommunication with the learning module, finally provides diagnosis suggestions; The learning module is based on the data exchange of the diagnosis module and analyzes the data similarity; The review module reviews the data based on the diagnostic suggestions given by the diagnosis module and the learning module; A marking module, used to mark the review data results; An extension module includes a module extension port, the module extension port transmits data, and processes the extension data content and transmission based on the extension module; A setting module, used to set the determination content of the determination module; A determination module performs determination processing based on set content and marking data; Notification module, used for outputting notification data; The user end is used to receive notification data and input instructions.

2. The image processing system of the flexible gastroenteroscope robot according to claim 1, characterized in that: Data acquisition module, preprocessing module and image enhancement module, specifically: The data acquisition module, based on multiple micro cameras and sensors, can collect image information and data in the gastrointestinal tract in real time; The preprocessing module performs preprocessing based on the collected image information and data content, cleans, annotates and extracts features from the collected raw data, and uses denoising, difference, interpolation and feature engineering data preprocessing techniques; Clean the original data, eliminate noise and anomalies, improve data quality, use missing value processing, and fill in missing values ​​through linear interpolation. Given the coordinates of two data points (x0, y0) and (x1, y1), it is necessary to estimate the function value y at a certain position x between x0 and x1, specifically: Use two points to determine a straight line, specifically: Introduce interpolation coefficients, specifically: 0≤α≤1 Substituting into the straight line, specifically: y = (1-α)y0 + αy1 Interpolation calculation, specifically: Given x, calculate Substitute α into the equation: y = (1-α)y0 + αy1, and you can get the estimated value y at x. If x is outside x0 and x1, α will be less than 0 or greater than 1. This is called linear extrapolation rather than interpolation. If y is known, x can be solved in a similar way. If the function f has a second-order continuous derivative, the maximum error of linear interpolation is: Where ξ is between x0 and x1, f″ is the second-order derivative of f, and the upper bound of the error is proportional to the curvature of the function and proportional to the square of the length of the interpolation interval; Image enhancement module, based on preprocessed image information enhancement, adopts multi-scale decomposition image enhancement method; The core of the multi-scale decomposition image enhancement method is to decompose the input image at different scales, process the components of each scale separately, and finally resynthesize the processed components to obtain the enhanced output image, specifically: Select Haar wavelet and Daubechies wavelet, and perform hierarchical wavelet decomposition transformation on the input image. The decomposition result is a series of approximate components and detail components of different scales. The approximate components describe the low-frequency components of the image, and the detail components describe the high-frequency components. According to the enhancement target, the components of different scales are processed accordingly. For the low-frequency approximate components, smoothing or sharpening and histogram equalization are performed to adjust the overall contrast and brightness of the image. For the high-frequency detail components, enhancement and denoising are performed. The coefficients of the detail components are amplified to enhance the details, and the coefficients are thresholded to remove noise. After component processing, the modified coefficients of each scale component are input into the wavelet reconstruction algorithm corresponding to the decomposition process, specifically: Wavelet reconstruction of a one-dimensional signal x[n]: Where: cA[k] is the approximate component coefficient of the lowest scale J, cD[j,k] is the detail component coefficient of the jth scale, is the scaling function, ψ(n) is the wavelet function; For wavelet reconstruction of a two-dimensional image I(x, y): Where: cA[m,n] is the lowest scale approximate component coefficient, cH[j,m,n], cV[j,m,n], cD[j,m,n] are the detail component coefficients in the horizontal, vertical and diagonal directions respectively, h(r,μ) is a two-dimensional scaling function, and is a wavelet function in three directions.

3. The image processing system of the flexible gastroenteroscope robot according to claim 1, characterized in that: Display modules, display components and classification modules, specifically: A display module is used to receive the image enhanced data transmitted by the image enhancement module, and process the data and transmit it to the display component; Display component, used to receive data transmitted by the display module and output the data for display; Based on a classification port, the classification module outputs the deformation data through the classification port; Based on the binary classification port, the classification module outputs temperature data through the binary classification port; Based on the three-classification port, the classification module outputs humidity data through the three-classification port; The one-class port, the two-class port and the three-class port are all connected to the error modeling module and transmit data in real time.

4. The image processing system of the flexible gastroenteroscope robot according to claim 1, characterized in that: Error modeling module, error analysis module, error identification module and error measurement module, specifically: Error modeling module, which establishes rigid body motion model, deformation model, heat conduction model, electromagnetic field model and flexible gastroscope robot mechanism model based on classified data, and calibrates model parameters; By measuring the geometric and mass properties of the rigid body, selecting the appropriate coordinate system and representation method, establishing the kinematic and dynamic equations, handling the constraints, calibrating and verifying the model parameters, simplifying and discretizing the model, and integrating the error modeling, we can finally obtain a mathematical model that can accurately describe the motion of the rigid body; Select a suitable constitutive model according to the mechanical properties of the material, establish a geometric model and perform meshing, derive the governing equations of continuous medium mechanics, apply boundary conditions and loads, and use numerical methods to solve them to obtain analytical solutions of stress, strain and displacement fields. Finally, through post-processing, visualization, verification and correction steps, a mathematical model that can accurately describe the deformation behavior of the flexible body is obtained; According to the geometric shape of the research object, the model is established and the computational grid is divided. The thermal bilation equation is determined as the control equation. Given the boundary conditions, initial conditions and temperature-related material property parameters, the control equation is solved by numerical methods to obtain the analytical solution of the temperature field. The model is verified and optimized through post-processing, visualization and result analysis, and finally a mathematical model that can accurately describe the heat conduction process is obtained. According to the research object, the geometric model of the calculation area is determined and meshed. The Maxwell equations are used as the control equations, the boundary conditions and electromagnetic parameters of the dispersive materials are set, and the control equations are solved by numerical methods to obtain the analytical solution of the electromagnetic field distribution. The model is verified and optimized through post-processing, visualization and result analysis, and finally a mathematical model that accurately describes the law of electromagnetic wave propagation is obtained; Through a hybrid method combining analytical modeling with experimental calibration, a comprehensive mechanism error parameterization model including connecting rod length tolerance, connecting rod flexural deformation, joint eccentricity and tilt error, transmission chain rigidity error and multi-source error terms was constructed, laying a theoretical foundation for model-based error compensation and control optimization, and finally obtaining a mathematical model that accurately describes the actual flexible gastroscope robot. The initial parameter values ​​are obtained through actual measurements, the model calculation results are compared with the measured data, and the model parameters are iteratively corrected using an optimization algorithm to ultimately obtain the optimal parameter values ​​that accurately describe the actual system behavior; Error analysis module, which analyzes the mechanism error, sensor noise and thermal noise error sources based on the calibration model parameters; For the mechanism error, numerical calculation is used to quantitatively analyze the influence of each error source on the end position accuracy of the mechanism, find out the main influencing factors, and use Taylor series expansion to perform qualitative error analysis; The numerical calculation is as follows: The derivative value is approximated by the difference quotient formula, and the three-point forward difference quotient formula approximates the first-order derivative: The derivative of the interpolation polynomial approximates the derivative value. First, an approximate function P(x) is constructed by interpolation, and then P′(x) is taken as the approximate value of f′(x). In the three-point forward difference quotient formula, the first-order derivative is approximated by calculating the function's values ​​at three points, x, x+h, and x+2h. The numerator of the difference quotient formula represents the difference of the function at different points, divided by h. 2 represents the square of the spacing; The interpolation technique constructs an approximate function P(x), and then takes the derivative P′(x) of the approximate function as the approximate derivative value of the original function. Through appropriate interpolation methods and nodes, derivative estimates of different accuracies are obtained. Interpolation type numerical integration formula, such as the complex trapezoidal formula: The integral interval is divided into multiple subintervals, and the trapezoidal formula is applied to each subinterval to approximate the integral value. The trapezoidal formula uses the values ​​of the function at the two endpoints to estimate the integral value in the interval, and the integral values ​​of all subintervals are weighted and summed to obtain the final approximate integral value; Algebraic precision formula, if the integrand f(x) is an nth degree polynomial, there are coefficients A0, A1, ..., A n , specifically: Where x0, x1, ..., x n are nodes on the integration interval; The integrand is interpolated at the selected nodes, and then the interpolation result is multiplied by the corresponding coefficient. Finally, the products at all nodes are summed to obtain the approximate integral value. Different nodes and coefficients achieve different algebraic precisions. Taylor series, specifically: Taylor's theorem provides a Taylor series approximation of the function f(x) at a certain point x0:, and the remainder represents the error between the approximation and the original function; The remaining items are: Where ξ is a point between x0 and x; By estimating f (n+1) The upper bound of (ξ) is obtained to obtain a conservative upper bound estimate, which is used to control the range of the approximation error. This estimate is used as the upper bound of the error to evaluate the accuracy of the Taylor polynomial approximation. For sensor noise, the sensor is experimentally measured under known conditions, the relationship between sensor output and actual input is recorded, the discreteness and stability of the output are analyzed, and the sensor noise level is estimated; Since the size of thermal noise is related to temperature, it is necessary to measure and model the temperature. Based on the temperature data, a temperature model is established to estimate the intensity and spectral characteristics of thermal noise. The error identification module identifies the error source based on the analysis of error data, and fuses multi-source errors to establish a comprehensive error model; Analyze error sources and characteristics, build individual models for each error source, and determine weights and correlations; The individual error models are integrated to establish a comprehensive error model using a nonlinear combination method; Verify and adjust the model, use independent test data sets for verification, and optimize and adjust the model based on the verification results; The error measurement module performs measurement calculations based on the accuracy of the comprehensive error model, and annotates and edits the training steps based on the accuracy evaluation; Clearly evaluate the accuracy of position error, attitude error and trajectory tracking error; Testing includes selecting appropriate test objects, defining test conditions and methods, and comprehensively evaluating accuracy; Collect motion data of the flexible robot under different working conditions, including measurement data of position, posture and force-related sensors; Preprocess the collected data, including noise removal and data alignment; Using the comprehensive error model, the preprocessed data is calculated to obtain the prediction error under each test case; Perform statistical analysis on the calculated error data, including calculating the average error, standard deviation and maximum error; According to pre-set standards and requirements, the accuracy is evaluated and labeled, classification standards are adopted, and relevant training steps are set.

5. The image processing system of the flexible gastroenteroscope robot according to claim 1, characterized in that: Model training module, model optimization module and model compensation module, specifically: Model training module, used for training data by measuring data training steps; Perform training processing on the data based on the training step suggestions provided by the measurement module; Divide the collected data set into training set and test set, use most of the data for training, and keep a small part of the data as the test set. Clean the data, remove outliers, missing values ​​or noise data, normalize the data, scale the values ​​of different features to a similar range, increase the diversity of the training set by applying various transformations or data expansion methods, and perform feature engineering to extract more informative features according to the characteristics of the problem. Model optimization module, which performs optimization processing based on training data results; Analyze the model output results to determine whether post-processing is needed, and use probability calibration, smoothing and correction to improve the accuracy and robustness of the model; Use feature selection algorithms to select features that have the greatest impact on target prediction and reduce the dimension of the feature space; Feature selection algorithm, specifically: Information gain is used to measure the contribution of features to sample classification; In the formula, is a dataset, is the feature to be evaluated, It is a feature The value is The sample subset at time Representation characteristics All values ​​of ; Variance selection, specifically: Variance selection is used to remove features whose variance is below a threshold from a dataset; where, is a set of feature values. is the sample size, It is The characteristic values ​​of samples, is the average of the characteristic values; Mutual information, specifically: Mutual information is used to measure the correlation between two variables; In the formula, and are two random variables, is the joint distribution probability, They are and The marginal distribution probability of Evaluate the performance of the model under different hyperparameter settings and adopt the best hyperparameter combination, using optimization algorithms to search the hyperparameter space; Using model ensemble methods by combining the prediction results of multiple models; Model compensation module, based on optimizing data error compensation accuracy; Optimizing data error compensation accuracy is mainly based on iterative optimization, specifically: In the formula, is the parameter value for the next iteration, is the parameter value of the current iteration, is the learning rate, is the loss function Parameters At the current value The gradient at Iterative optimization is performed by choosing an initial parameter value , and repeat the following steps until the convergence condition is met: Calculate current parameter value The gradient of the loss function at ; According to the gradient direction and learning rate ; Adopt parameter update rule To update the parameter value; Determine whether to stop iteration based on predefined convergence conditions, and determine whether convergence is achieved based on changes in the loss function, parameter change thresholds, or other indicators; The final output result returns the final parameter value .

6. The image processing system of the flexible gastroenteroscope robot according to claim 1, characterized in that: Data integration module, cloud deployment module, diagnosis module, learning module, review module, marking module and extension module, specifically: The data integration module identifies and analyzes the content of the received data and communicates with the cloud deployment module based on the identified and analyzed content; Used for data processing and data organization, and planning transmission targets based on received data; The information transmitted by the model compensation module is planned as the initial data, and the initial data is identified and analyzed, and the cloud deployment module communicates with the cloud deployment module to find relevant data information, and processes and organizes the data according to the data situation and transmits it to the diagnosis module; The data transmitted by the review module is planned as follow-up data, and the review data is processed and sorted again, and then transmitted to the diagnosis module after data intercommunication with the cloud deployment module; Cloud deployment module, used to store large amounts of data and communicate with the data integration module; Based on the data marking and backup storage of the data in the data integration module, the relevant data content is queried according to the data content and transmitted to the data integration module; The diagnosis module, based on the data transmitted by the data integration module and intercommunication with the learning module, finally provides diagnosis suggestions; The diagnosis module is based on the data content transmitted by the data integration module and communicates with the learning module for diagnosis. According to the data content similarity comparison, feature comparison, regularity and data content description comparison, the learning module serves as the basic auxiliary diagnosis module to diagnose the data, summarize the diagnosis content, and generate the diagnosis result data; The learning module is based on the data exchange of the diagnosis module and analyzes the data similarity; The learning module is based on the data transmitted by the diagnostic module, analyzes and compares the data content, assists the diagnostic module in diagnosis based on the data content, and uses convolutional neural networks for deep learning; Convolutional neural network, based on the data transmitted by the diagnostic module, constructs convolutional layer, pooling layer and fully connected layer. The convolutional layer extracts features at different levels, the pooling layer reduces the feature dimension, and the fully connected layer performs classification or regression tasks; During the training process, the validation set is used to evaluate the model performance, hyperparameters are adjusted based on the evaluation results, the model performance on the training set and validation set is visualized, overfitting or underfitting is analyzed, and model averaging is used; Evaluate the final model performance on an independent test set, deploy the trained model in actual application scenarios, and compress and accelerate the model according to actual conditions; The review module reviews the data based on the diagnostic suggestions given by the diagnosis module and the learning module; Based on the final diagnostic recommendation data given by the diagnostic module and the learning module, the diagnostic result data is re-diagnosed, and the feature similarity is reviewed based on the data content; If the audit similarity is too low, the data will be sent back to the data integration module. If the audit similarity is sufficient, it will be transmitted to the marking module. The similarity will be set as 80% as the dividing line, and labels will be set according to the review content, namely non-symptom, suspected symptom and symptom; A marking module, used to mark the review data results; Perform labeling processing based on the data tags transmitted by the review module; Mark non-symptom data as green, suspected symptom data as blue, and symptom data as red; An extension module includes a module extension port, the module extension port transmits data, and processes the extension data content and transmission based on the extension module; Module expansion port, used to input extended data, for data expansion of diagnostic modules; The expansion module processes the expansion data transmitted based on the module expansion port, detects the availability of the expansion data, and further optimizes the expansion data.

7. The image processing system of the flexible gastroenteroscope robot according to claim 1, characterized in that: The determination module includes the following modules: A setting module, used for determining the determination content set by the determination module; The judgment module makes judgments and processes in real time based on the set content and the marked data; A control module issues execution instructions based on the determination data results; The driving execution module runs the timing execution program based on the execution instructions issued by the control module; A task module, performs A-type tasks based on execution instructions; B task module, performs B-type tasks based on execution instructions; An interactive module, used for receiving instructions from a user terminal; Negation module, used to cancel the driver execution module instruction; Notification module, used for outputting notification data; The user end is used to receive notification data and input instructions.

8. The image processing system of the flexible gastroenteroscope robot according to claim 7, characterized in that: The setting module, the determination module, the control module, the drive execution module, the A task module, the B task module, the interaction module, the negation module, the notification module and the user end are specifically: A setting module, used for determining the determination content set by the determination module; The determination content is set to perform determination processing in real time based on the content of the marked data; The judgment module makes judgments and processes in real time based on the set content and the marked data; Based on the judgment content set by the setting module, the judgment result is obtained: Result 1: if the obtained marked data is green, it is determined to be non-symptom data and transmitted to the notification module, which then transmits it to the user end; Result 2: if the marked data is blue, it is determined to be suspected disease data and transmitted to the control module, which is then transmitted to the drive execution module, which is then transmitted to the A task module; Result three, if the obtained marked data is red, it is determined to be disease data and transmitted to the control module, which is then transmitted to the drive execution module, which is then transmitted to the B task module; A control module issues execution instructions based on the determination data results; Based on the determined data, and according to the first or second determination result, an A task or a B task execution instruction is issued to the driving execution module, and the execution instruction is transmitted to the driving execution module; The driving execution module runs the timing execution program based on the execution instructions issued by the control module; When the control module issues an execution instruction to the driver execution module, the driver execution module will run the countdown program and transmit the execution instruction to the user end in the form of a notification pop-up window. When the countdown ends, the A task module or the B task module will be executed according to the execution instruction. Define global variables through Python, use thread synchronization mechanism, provide countdown start function, implement countdown logic, execute commands, error handling and recovery, add cancel flag, modify countdown logic, provide countdown cancel function, and clean up operations; A task module, performs A-type tasks based on execution instructions; When the driving execution module timing program structure, the A task module receives the driving execution module execution data, then it will execute the drug spraying task; B task module, performs B-type tasks based on execution instructions; When the driving execution module timing program structure, the B task module receives the driving execution module execution data, it will perform the disease sampling and drug spraying tasks; An interactive module, used for receiving instructions from a user terminal; When the user terminal sends a cancellation instruction to the interaction module, the interaction module will accept the instruction sent by the user terminal, confirm and transmit the instruction; Negation module, used to cancel the driver execution module instruction; Based on the cancellation instruction transmitted by the interaction module, a cancellation timing instruction is transmitted to the driving execution module; Notification module, used to output notification data and input instructions; The user end is used to receive notification data and input instructions.

9. An image processing method for a flexible gastroenteroscopic robot, characterized in that: The steps include: S100, performing real-time data collection and processing based on the data collection module, and preprocessing the collected data; S200, performing image enhancement processing based on the pre-processed data, and transmitting the image to the display module for output; S300, classifying based on preprocessed data and image enhancement data, and performing modeling, error data processing, and error comprehensive model data processing; S400, performing training processing based on modeling, error data and error comprehensive model data, and performing optimization and precision compensation processing; S500, based on the data collection and sorting after training, optimization and compensation, and identifying, analyzing and extracting relevant data information based on the data integration module and the cloud deployment module; S600, based on the extracted data and the collected data, perform a comparison and diagnosis of similarity, feature, regularity and data content description, and review and mark the data; S700, judging the data tag content through the judging module based on the set content, and timing the execution of task module A or task module B; S800: cancel the timed execution task based on the instruction sent by the user terminal.

10. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the system according to any one of claims 1 to 8.