System and method for recognizing physiological and geometric features of anorectal abnormalities
By establishing a three-dimensional model of anorectal lesions and combining it with three-dimensional design software and video-text overlay technology, the problem that anorectal electronic endoscopes cannot efficiently and accurately measure the size and shape of anorectal lesions has been solved, achieving efficient, accurate, and dynamic visualization in the diagnosis of anorectal diseases.
Patent Information
- Application Number
- CN202511908806.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-17
- Publication Date
- 2026-01-16
AI Technical Summary
Existing electronic endoscopes for anorectal diseases cannot efficiently and accurately measure the size and shape characteristics of anorectal lesions, which reduces the efficiency and accuracy of collecting and processing anorectal disease features.
By collecting three-dimensional coordinate data of anorectal lesions, a three-dimensional model is established. Volume measurement and shape recognition are performed using three-dimensional design software. The Halcon operator and GIS system are used for coordinate reconstruction and shape type recognition. Finally, the measurement results are displayed in real time using video and text overlay software.
It enables real-time and accurate modeling and precise measurement of the three-dimensional features of anorectal lesions, improving the accuracy and efficiency of anorectal disease diagnosis, and realizing intelligent recognition and dynamic visualization output of the shape and type of anorectal lesions.
Smart Images

Figure CN121354089A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of anorectal physiological geometry measurement, specifically to a system and method for identifying abnormal anorectal physiological geometry features. Background Technology
[0002] Traditional diagnosis of anorectal diseases typically employs electronic anorectal endoscopy. Electronic anorectal endoscopy is a modern diagnostic tool that uses a high-definition camera and cold light source imaging technology to perform real-time visual examination of the anus, rectum, and part of the sigmoid colon. After the patient assumes a lateral decubitus position, the doctor gently inserts the endoscope, covered with a sterile sheath and lubricated, into the anal canal, directly observing mucosal lesions using magnified images on the screen. This technology can clearly identify various common anorectal diseases: hemorrhoids, anal fissures, internal openings of anal fistulas, rectal polyps, and tumors. Its core advantages lie in high-resolution imaging combined with NBI narrow-band imaging technology, which highlights the morphology of microvessels on the mucosal surface, improving the detection rate of early cancerous changes; real-time dynamic observation supports simultaneous communication between doctor and patient regarding lesion details, and tissue can be taken via the biopsy channel for pathological confirmation, or minimally invasive treatments such as hemostasis and polyp removal can be performed simultaneously. However, existing electronic anorectal endoscopes cannot efficiently and accurately measure the size characteristics of anorectal lesions, nor can they intelligently identify and process the shape characteristics of anorectal lesions, reducing the efficiency and accuracy of anorectal disease feature acquisition and processing.
[0003] Chinese invention patent CN114719760B, published on November 29, 2024, discloses an animal imaging distributed motion monitoring system and displacement monitoring method. The system includes: motion sensors distributed at an X-ray source, a detector, and a stage, used to transmit detected data to a backend control module; a control module for receiving and recording the detection data transmitted by the motion sensors and sending the recorded data to a host computer; and a host computer for receiving the data recorded by the control module, calculating the displacement value based on the received data, and performing image correction to obtain a corrected image. However, the above technical solution cannot achieve intelligent and efficient measurement of the animal's physiological appearance and size. Summary of the Invention
[0004] (a) Technical problems to be solved To address the shortcomings of existing electronic anorectal endoscopes in efficiently and accurately measuring the size and shape of anorectal lesions, thus reducing the efficiency and accuracy of anorectal disease feature acquisition and processing, this paper aims to achieve the following: real-time and efficient construction of three-dimensional models of anorectal lesions; dynamic measurement of lesion volume; accurate measurement of lesion maximum thickness; intelligent identification of lesion shape type; intelligent and precise measurement of physiological geometric features of anorectal diseases; and improved efficiency and accuracy of anorectal disease feature acquisition.
[0005] (II) Technical Solution This invention is achieved through the following technical solution: a method for identifying abnormal physiological geometric features of the anorectal region, the method comprising the following steps: S1. Collect three-dimensional coordinate data of anorectal lesions, and model the three-dimensional features of anorectal lesions based on their three-dimensional coordinates to obtain three-dimensional model information of anorectal lesions; measure and process the spatial volume of anorectal lesions to obtain three-dimensional volume data of anorectal lesions; S2. Based on the three-dimensional features of the anorectal lesions, the three-dimensional coordinates of the anorectal lesions are standardized and constructed to obtain the three-dimensional coordinate reconstruction data of the anorectal lesions; the maximum thickness data of the anorectal lesions is measured according to the three-dimensional coordinate reconstruction parameters; the spatial shape type of the anorectal lesions is identified according to the three-dimensional features of the anorectal lesions to obtain the shape type identification information of the anorectal lesions and output it. S3. Construct the measurement data of anorectal physiological geometric features and execute the real-time push operation of anorectal physiological geometric feature measurement.
[0006] Preferably, the following steps are taken to collect three-dimensional coordinate data of the anorectal lesions, model the three-dimensional features of the anorectal lesions based on their three-dimensional coordinates, and obtain the three-dimensional model information of the anorectal lesions; the following steps are taken to measure and process the spatial volume of the anorectal lesions to obtain the three-dimensional volume data of the anorectal lesions: S11. Using a point cloud camera mounted on the endoscope of an anorectal electronic endoscope, the spatial coordinate point cloud of the outer surface of the patient's anorectal lesion is collected and processed to obtain a three-dimensional coordinate data matrix of the anorectal lesion. ,in Indicates the number of collections Three-dimensional coordinate data of anorectal lesions; the three-dimensional coordinate data of anorectal lesions includes the horizontal, vertical and vertical coordinates of the outer surface of the anorectal lesion site, wherein the anorectal lesion site of the patient includes any one of the anal surface, the inner wall of the anal canal and the inner wall of the rectum; S12. Based on the three-dimensional coordinate data matrix of the anorectal lesions, perform three-dimensional feature modeling processing of the anorectal lesions to obtain three-dimensional model information of the anorectal lesions; S13. Based on the three-dimensional model information of the anorectal lesion, perform spatial volume measurement and processing of the anorectal lesion to obtain three-dimensional volume data of the anorectal lesion.
[0007] Preferably, the steps for performing three-dimensional feature modeling of the anorectal lesions based on the three-dimensional coordinate data matrix to obtain the three-dimensional model information of the anorectal lesions are as follows: S121. Using the Halcon operator based on the three-dimensional coordinate data matrix of the anorectal lesions. The three-dimensional coordinate data of the anorectal lesions described in the article Three-dimensional feature modeling of the anorectal lesions is performed to obtain three-dimensional model information of the anorectal lesions; the specific operation steps for generating the three-dimensional model information of the anorectal lesions are as follows: S1211, Call the three-dimensional coordinate data matrix of the anorectal lesion ; S1212. Using the Halcon operator: xyz-model-3D, a three-dimensional spatial morphological model modelW is generated from a numerical matrix containing three-dimensional spatial coordinates; where xyz-model-3D=(X, Y, Z, modelW), where X represents the horizontal coordinate of the anorectal lesion in three-dimensional coordinates, Y represents the vertical coordinate of the anorectal lesion in three-dimensional coordinates, and Z represents the vertical coordinate of the anorectal lesion in three-dimensional coordinates; The three-dimensional coordinate data matrix of the anorectal lesions described in S1211 The three-dimensional coordinate data of the anorectal lesions described in the article The x, y, and z coordinates are assigned to the X, Y, and Z coordinates of the Halcon operator in an ordered manner according to the three-dimensional coordinate number of the anorectal lesion; S1213, when the three-dimensional coordinate data matrix of the anorectal lesion The three-dimensional coordinate data of the anorectal lesions described in the article The assignment is complete, and the Halcon operator is based on the three-dimensional coordinate data of the anorectal lesion. Numerical modeling of the three-dimensional model of the outer surface of the anorectal lesion is performed to generate three-dimensional model information of the anorectal lesion. The three-dimensional model information of the anorectal lesion represents the spatial three-dimensional feature information of any lesion site on the surface of the anus, the inner wall of the anal canal, and the inner wall of the rectum.
[0008] Preferably, the steps for performing spatial volume measurement processing of the anorectal lesion based on the three-dimensional model information to obtain the three-dimensional volume data of the anorectal lesion are as follows: S131. Input the three-dimensional model information of the anorectal lesion into the three-dimensional design software and run it. Based on the measurement tool in the three-dimensional design software, measure and process the spatial volume of the three-dimensional model of the anorectal lesion to obtain the three-dimensional volume data of the anorectal lesion. The unit of the three-dimensional volume data of the anorectal lesion is cubic centimeters. The three-dimensional design software includes any one of SolidWorks, AutoCAD, and Fusion360.
[0009] Preferably, the following steps are taken: First, the three-dimensional coordinates of the anorectal lesion are standardized and constructed based on its three-dimensional features to obtain reconstructed three-dimensional coordinate data. Second, the maximum thickness of the anorectal lesion is measured based on the reconstructed three-dimensional coordinate parameters. Third, the spatial shape type of the anorectal lesion is identified based on its three-dimensional features to obtain and output the shape type identification information. S21. Based on the three-dimensional model information of the anorectal lesion, perform standardized construction processing of the three-dimensional coordinates of the anorectal lesion to obtain a three-dimensional coordinate reconstruction dataset of the anorectal lesion; S22. Based on the three-dimensional coordinate reconstruction dataset of the anorectal lesion, perform maximum thickness measurement processing of the anorectal lesion to obtain the maximum thickness data of the anorectal lesion. S23. Based on the three-dimensional model information of the anorectal lesion and the matrix of three-dimensional model information of standard anorectal lesions of different shape types, perform spatial shape type recognition processing of the anorectal lesion to obtain the shape type recognition information of the anorectal lesion and output it.
[0010] Preferably, the steps for standardizing and constructing the three-dimensional coordinates of the anorectal lesions based on the three-dimensional model information to obtain the three-dimensional coordinate reconstruction dataset of the anorectal lesions are as follows: S211. Establish a spatial rectangular coordinate system with the contact surface between the three-dimensional model of the anorectal lesion and the normal anorectal surface as the horizontal and vertical coordinate planes to obtain standard three-dimensional model information of the anorectal lesion; wherein the value of the vertical coordinate of any spatial point on the outer surface of the three-dimensional model of the anorectal lesion in the standard three-dimensional model information of the anorectal lesion represents the lesion thickness of the anorectal lesion at that spatial point relative to the normal anorectal surface; S212. Using a GIS system, the outer surface of the three-dimensional model of the anorectal lesion corresponding to the standard three-dimensional model information is processed to generate spatial coordinates according to the spatial rectangular coordinate system described in step S211, thereby obtaining a three-dimensional coordinate reconstruction dataset of the anorectal lesion. ,in Indicates the generated first Three-dimensional coordinate reconstruction data of anorectal lesions; the three-dimensional coordinate reconstruction data of anorectal lesions includes the reconstructed horizontal coordinate, reconstructed vertical coordinate and reconstructed vertical coordinate of the outer surface of the anorectal lesion, wherein the value of the reconstructed vertical coordinate in the three-dimensional coordinate reconstruction data of anorectal lesions represents the thickness of the anorectal lesion at the outer surface location.
[0011] Preferably, the steps for measuring the maximum thickness of the anorectal lesions based on the three-dimensional coordinate reconstruction dataset to obtain the maximum thickness data of the anorectal lesions are as follows: S221. Obtain the three-dimensional coordinate reconstruction dataset of the anorectal lesion. ; S222. Reconstruct the dataset of three-dimensional coordinates of the anorectal lesions in an orderly manner according to their three-dimensional coordinate numbers. The three-dimensional coordinate reconstruction data of anorectal lesions described in the article The internal reconstructed vertical coordinates are used to search for data, and the three-dimensional coordinate reconstruction data of the anorectal lesion with the largest reconstructed vertical coordinate value is found. The three-dimensional coordinate reconstruction data of the anorectal lesion with the largest vertical coordinate value will be reconstructed. The vertical coordinates are reconstructed to generate the maximum thickness data of the anorectal lesion. The unit of the maximum thickness data of the anorectal lesion is centimeters. The maximum thickness data of the anorectal lesion represents the maximum lesion thickness of the patient's anorectal lesion relative to the normal anorectal surface.
[0012] Preferably, the steps for performing spatial shape type recognition processing of anorectal lesions based on the three-dimensional model information of the anorectal lesions and the matrix of standard three-dimensional model information of anorectal lesions of different shape types, and obtaining and outputting the shape type recognition information of the anorectal lesions are as follows: S231. Establish a three-dimensional model information matrix of standard anorectal lesions of different shapes and types. ,in Indicates the first This document provides three-dimensional model information of standard anorectal lesions corresponding to different shape types. The anorectal lesion shape types include: anal broad-based polyp shape type, anal pedunculated polyp shape type, anal lobulated polyp shape type, anal cauliflower-like polyp shape type, anal ulcerative tumor shape type, anal mass-like tumor shape type, anal invasive tumor shape type, rectal broad-based polyp shape type, rectal pedunculated polyp shape type, rectal lobulated polyp shape type, rectal cauliflower-like polyp shape type, rectal ulcerative tumor shape type, rectal mass-like tumor shape type, and rectal invasive tumor shape type. The three-dimensional model information of standard anorectal lesions of different shape types represents the three-dimensional model information of standard anorectal lesions set for different types of anorectal lesion shapes. S232. The TSDF three-dimensional feature matching algorithm is used to match the three-dimensional model information of the anorectal lesion with the three-dimensional model information matrix of the standard anorectal lesion of different shape types. The three-dimensional model information of standard anorectal lesions of different shapes described in the article Perform 3D model feature matching to search for the standard 3D model information of different shape types of anorectal lesions that best match the 3D model information of the anorectal lesions. The corresponding text information on the shape type of anorectal lesions is used to generate anorectal lesion shape type identification information through data identification; S233. Output the generated anorectal lesion shape and type identification information.
[0013] Preferably, the steps for constructing anorectal physiological geometric feature measurement data and executing the real-time push operation of anorectal physiological geometric feature measurement are as follows: S31. The three-dimensional volume data of the anorectal lesion, the maximum thickness data of the anorectal lesion, and the shape and type identification information of the anorectal lesion are collected and combined to obtain the anorectal physiological geometric feature measurement data. S32. Using video-text overlay software, push the text information corresponding to the generated anorectal physiological geometric feature measurement data to the display screen of the anorectal electronic endoscope for real-time display output, and perform real-time push operation of anorectal physiological geometric feature measurement. The video-text overlay software includes any one of StreamlabsDesktop, vMix, and OBSStudio.
[0014] A system for recognizing abnormal physiological geometric features of anorectal diseases, used to implement the method for recognizing abnormal physiological geometric features of anorectal diseases, the system including an anorectal physiological geometric feature measurement module, an anorectal physiological geometric feature classification module, and an anorectal physiological geometric feature output module; The anorectal physiological geometric feature measurement module includes an anorectal lesion three-dimensional coordinate acquisition unit, an anorectal lesion three-dimensional modeling unit, an anorectal lesion volume measurement unit, an anorectal lesion coordinate reconstruction unit, and an anorectal lesion thickness measurement unit; The three-dimensional coordinate acquisition unit for anorectal lesions acquires three-dimensional coordinate data of anorectal lesions using a point cloud camera mounted on the endoscope of an electronic anorectal endoscope. The three-dimensional modeling unit for anorectal lesions performs three-dimensional feature modeling processing based on the three-dimensional coordinate data to obtain three-dimensional model information of the anorectal lesions. The volume measurement unit for anorectal lesions measures the spatial volume of the anorectal lesions based on the three-dimensional model information and measurement tools in 3D design software to obtain three-dimensional volume data. The coordinate reconstruction unit for anorectal lesions performs standardized construction processing of the three-dimensional coordinates of the anorectal lesions based on the three-dimensional model information and a GIS system to obtain reconstructed three-dimensional coordinate data. The thickness measurement unit for anorectal lesions measures the maximum thickness of the anorectal lesions based on the reconstructed three-dimensional coordinate data to obtain maximum thickness data. The anorectal physiological geometric feature classification module includes a storage unit for three-dimensional models of standard anorectal lesions of different shapes and types, an anorectal lesion shape type recognition unit, and an anorectal lesion shape type recognition output unit. The storage unit for standard anorectal lesion 3D models of different shape types is used to store 3D model information of standard anorectal lesions of different shape types; the anorectal lesion shape type recognition unit performs spatial shape type recognition processing of anorectal lesions based on the 3D model information of anorectal lesions and the 3D model information of standard anorectal lesions of different shape types to obtain anorectal lesion shape type recognition information; the anorectal lesion shape type recognition output unit outputs the generated anorectal lesion shape type recognition information. The anorectal physiological geometric feature output module includes an anorectal physiological geometric feature measurement and collection unit and an anorectal physiological geometric feature measurement real-time feedback unit. The anorectal physiological geometric feature measurement and collection unit constructs anorectal physiological geometric feature measurement data based on the three-dimensional volume data of the anorectal lesion, the maximum thickness data of the anorectal lesion, and the shape and type identification information of the anorectal lesion, combined with data processing. The anorectal physiological geometric feature measurement real-time feedback unit performs real-time push operation of anorectal physiological geometric feature measurement based on the anorectal physiological geometric feature measurement data and combined with video text overlay software and the display screen of the anorectal electronic endoscope.
[0015] (III) Beneficial Effects This invention provides a system and method for recognizing the physiological and geometric features of anorectal abnormalities. It has the following beneficial effects: I. By using a point cloud camera mounted on the endoscope of anorectal electronic endoscope to collect real-time three-dimensional coordinate information of anorectal lesions, reliable data support is provided for dynamically constructing three-dimensional features of anorectal diseases. Based on the three-dimensional coordinate parameters of anorectal lesions and combined with three-dimensional modeling algorithms, the three-dimensional features of anorectal lesions are modeled in real time and accurately, realizing real-time and precise acquisition of the spatial features of anorectal lesions. Based on the three-dimensional model information of anorectal lesions and combined with the measurement tools in three-dimensional design software, the spatial volume of anorectal lesions is measured in real time and accurately, realizing the digital dynamic measurement of the spatial features of anorectal diseases, improving the accuracy and efficiency of anorectal disease diagnosis. Based on numerical analysis, the maximum thickness parameter of anorectal lesions is accurately measured, realizing efficient and intelligent monitoring of the size and geometric features of anorectal lesions, improving the quality and efficiency of anorectal disease diagnosis.
[0016] Second, by combining the three-dimensional model information of anorectal lesions with intelligent search algorithms and standard three-dimensional model information of different shape types of anorectal lesions based on big data storage, the spatial shape type of anorectal lesions is intelligently identified and output, thereby realizing intelligent analysis and feedback of the geometric features of anorectal lesions and improving the efficiency and accuracy of anorectal disease feature acquisition.
[0017] Third, by autonomously and securely constructing measurement data of anorectal physiological geometric features based on three-dimensional volume data, maximum thickness data, and shape and type identification information of anorectal lesions, and combining data processing, the measurement results of anorectal physiological geometric features are dynamically and visually pushed to the display screen of the anorectal electronic endoscope. This enables the dynamic and synchronous visualization output of the size, shape, and geometric features of anorectal lesions with anorectal lesion images, thereby improving the scientificity and applicability of anorectal disease diagnosis. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the module of the system for recognizing physiological and geometric features of anorectal abnormalities provided by the present invention. Figure 2 The flowchart is for the method of rectal abnormality physiological geometric feature identification provided by the present invention. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] An embodiment of the system and method for recognizing the physiological geometric features of anorectal abnormalities is as follows: Example 1: Please see Figures 1-2 A method for identifying abnormal physiological geometric features of the anorectal region, comprising the following steps: S1. Collect three-dimensional coordinate data of anorectal lesions, and model the three-dimensional features of anorectal lesions based on their three-dimensional coordinates to obtain three-dimensional model information of anorectal lesions; measure and process the spatial volume of anorectal lesions to obtain three-dimensional volume data of anorectal lesions; S2. Based on the three-dimensional features of the anorectal lesions, the three-dimensional coordinates of the anorectal lesions are standardized and constructed to obtain the three-dimensional coordinate reconstruction data of the anorectal lesions; the maximum thickness data of the anorectal lesions is measured according to the three-dimensional coordinate reconstruction parameters; the spatial shape type of the anorectal lesions is identified according to the three-dimensional features of the anorectal lesions to obtain the shape type identification information of the anorectal lesions and output it. S3. Construct the measurement data of anorectal physiological geometric features and execute the real-time push operation of anorectal physiological geometric feature measurement.
[0021] For further details, please refer to Figures 1-2 The following steps were taken to collect three-dimensional coordinate data of anorectal lesions, model the three-dimensional features of the lesions based on their coordinates, and obtain the three-dimensional model information of the anorectal lesions. The spatial volume of the anorectal lesions was then measured to obtain the three-dimensional volume data. S11. Using a point cloud camera mounted on the endoscope of an anorectal electronic endoscope, the spatial coordinate point cloud of the outer surface of the patient's anorectal lesion is collected and processed to obtain a three-dimensional coordinate data matrix of the anorectal lesion. ,in Indicates the number of collections Three-dimensional coordinate data of anorectal lesions; the three-dimensional coordinate data of anorectal lesions includes the horizontal, vertical and vertical coordinates of the outer surface of the anorectal lesion site, where the anorectal lesion site of the patient includes any one of the anal surface, the inner wall of the anal canal and the inner wall of the rectum; S12. Based on the three-dimensional coordinate data matrix of anorectal lesions, perform three-dimensional feature modeling of anorectal lesions to obtain three-dimensional model information of anorectal lesions; S13. Based on the three-dimensional model information of the anorectal lesion, perform spatial volume measurement and processing of the anorectal lesion to obtain the three-dimensional volume data of the anorectal lesion.
[0022] The steps for performing three-dimensional feature modeling of anorectal lesions based on the three-dimensional coordinate data matrix to obtain the three-dimensional model information of anorectal lesions are as follows: S121. Using the Halcon operator based on the three-dimensional coordinate data matrix of anorectal lesions. Three-dimensional coordinate data of anorectal lesions Three-dimensional feature modeling of anorectal lesions is performed to obtain three-dimensional model information of the anorectal lesions. The specific steps for generating three-dimensional model information of anorectal lesions are as follows: S1211, Call the three-dimensional coordinate data matrix of anorectal lesions ; S1212. Using the Halcon operator: xyz-model-3D, a three-dimensional spatial morphological model modelW is generated from a numerical matrix containing three-dimensional spatial coordinates; where xyz-model-3D=(X, Y, Z, modelW), where X represents the horizontal coordinate of the anorectal lesion in three-dimensional coordinates, Y represents the vertical coordinate of the anorectal lesion in three-dimensional coordinates, and Z represents the vertical coordinate of the anorectal lesion in three-dimensional coordinates; The three-dimensional coordinate data matrix of anorectal lesions in S1211 Three-dimensional coordinate data of anorectal lesions The x, y, and z coordinates are assigned to the X, Y, and Z coordinates of the Halcon operator in an ordered manner according to the three-dimensional coordinate number of the anorectal lesion; S1213, When the three-dimensional coordinate data matrix of anorectal lesions Three-dimensional coordinate data of anorectal lesions The assignment is complete; the Halcon operator is based on the three-dimensional coordinate data of the anorectal lesions. Numerical modeling of the three-dimensional model of the outer surface of the anorectal lesion is performed to generate three-dimensional model information of the anorectal lesion. The three-dimensional model information of the anorectal lesion represents the spatial three-dimensional feature information of any lesion site on the surface of the anus, the inner wall of the anal canal, and the inner wall of the rectum.
[0023] The steps for measuring and processing the spatial volume of anorectal lesions based on 3D model information to obtain 3D volume data of the anorectal lesions are as follows: S131. Input the three-dimensional model information of the anorectal lesion into the three-dimensional design software and run it. Based on the measurement tool in the three-dimensional design software, measure and process the spatial volume of the three-dimensional model of the anorectal lesion to obtain the three-dimensional volume data of the anorectal lesion. The unit of the three-dimensional volume data of the anorectal lesion is cubic centimeters. The three-dimensional design software includes any one of SolidWorks, AutoCAD, and Fusion360.
[0024] The system employs a three-dimensional coordinate acquisition unit and a three-dimensional modeling unit for anorectal lesions, working in tandem. A point cloud camera mounted on the endoscope of an anorectal endoscope acquires the three-dimensional coordinate information of anorectal lesions in real time, providing reliable data support for dynamically constructing the three-dimensional features of anorectal diseases. The three-dimensional modeling unit accurately models the three-dimensional features of anorectal lesions in real time based on the three-dimensional coordinate parameters and combined with three-dimensional modeling algorithms, achieving real-time and precise acquisition of the spatial features of anorectal lesions. The volume measurement unit measures the spatial volume of anorectal lesions in real time based on the three-dimensional model information and measurement tools in three-dimensional design software, achieving digital dynamic measurement of the spatial features of anorectal diseases and improving the accuracy and efficiency of anorectal disease diagnosis. Finally, the coordinate reconstruction unit and the thickness measurement unit work together to accurately measure the maximum thickness parameter of anorectal lesions based on numerical analysis, achieving efficient and intelligent monitoring of the dimensional geometric features of anorectal lesions and improving the quality and efficiency of anorectal disease diagnosis.
[0025] For further details, please refer to Figures 1-2 The following steps were taken: Based on the three-dimensional features of the anorectal lesions, the three-dimensional coordinates of the lesions were standardized and reconstructed to obtain the three-dimensional coordinate reconstruction data; the maximum thickness of the anorectal lesions was measured based on the three-dimensional coordinate reconstruction parameters; and the spatial shape type of the anorectal lesions was identified based on their three-dimensional features to obtain and output the shape type identification information. S21. Based on the three-dimensional model information of anorectal lesions, perform standardized construction processing of the three-dimensional coordinates of anorectal lesions to obtain a three-dimensional coordinate reconstruction dataset of anorectal lesions; S22. Based on the three-dimensional coordinate reconstruction dataset of anorectal lesions, the maximum thickness of anorectal lesions is measured and processed to obtain the maximum thickness data of anorectal lesions. S23. Based on the three-dimensional model information of anorectal lesions and the matrix of three-dimensional model information of standard anorectal lesions of different shape types, perform spatial shape type recognition processing of anorectal lesions to obtain anorectal lesion shape type recognition information and output it.
[0026] The steps for standardizing and constructing the 3D coordinates of anorectal lesions based on 3D model information to obtain a 3D coordinate reconstruction dataset of anorectal lesions are as follows: S211. Establish a spatial rectangular coordinate system with the contact surface between the three-dimensional model of the anorectal lesion and the normal anorectal surface as the horizontal and vertical coordinate planes to obtain the standard three-dimensional model information of the anorectal lesion; wherein the value of the vertical coordinate of any spatial point on the outer surface of the three-dimensional model of the anorectal lesion in the standard three-dimensional model information of the anorectal lesion represents the lesion thickness of the anorectal lesion at that spatial point relative to the normal anorectal surface; S212. Using a GIS system, the outer surface of the three-dimensional model of the anorectal lesion corresponding to the standard three-dimensional model information is processed to generate spatial coordinates according to the spatial rectangular coordinate system in step S211, resulting in a three-dimensional coordinate reconstruction dataset of the anorectal lesion. ,in Indicates the generated first Three-dimensional coordinate reconstruction data of anorectal lesions; the three-dimensional coordinate reconstruction data of anorectal lesions includes the reconstructed horizontal coordinate, reconstructed vertical coordinate and reconstructed vertical coordinate of the outer surface of the anorectal lesion. The value of the reconstructed vertical coordinate in the three-dimensional coordinate reconstruction data of anorectal lesions indicates the thickness of the anorectal lesion at the outer surface location.
[0027] The steps for measuring the maximum thickness of anorectal lesions based on the reconstructed 3D coordinate dataset are as follows: S221. Obtain the three-dimensional coordinate reconstruction dataset of anorectal lesions. ; S222. Reconstruct the dataset of three-dimensional coordinates of anorectal lesions in an orderly manner according to their numbering. Three-dimensional coordinate reconstruction data of anorectal lesions The internal reconstructed vertical coordinates are used to search for data, and the three-dimensional coordinate reconstruction data of the anorectal lesion with the largest reconstructed vertical coordinate value is found. The three-dimensional coordinate reconstruction data of the anorectal lesion with the largest vertical coordinate value will be reconstructed. The vertical coordinates are reconstructed to generate the maximum thickness data of anorectal lesions. The unit of the maximum thickness data of anorectal lesions is centimeters. The maximum thickness data of anorectal lesions represents the maximum lesion thickness of the patient's anorectal lesions relative to the normal anorectal surface.
[0028] The steps for performing spatial shape type recognition processing of anorectal lesions based on 3D model information of anorectal lesions and 3D model information matrices of standard anorectal lesions of different shape types, and obtaining and outputting anorectal lesion shape type recognition information are as follows: S231. Establish a three-dimensional model information matrix of standard anorectal lesions of different shapes and types. ,in Indicates the first This document provides 3D model information for standard anorectal lesions of different shape types, corresponding to various anorectal lesion shape types. These shape types include: anal broad-based polyp, anal pedunculated polyp, anal lobulated polyp, anal cauliflower-like polyp, anal ulcerative tumor, anal mass-like tumor, anal invasive tumor, rectal broad-based polyp, rectal pedunculated polyp, rectal lobulated polyp, rectal cauliflower-like polyp, rectal ulcerative tumor, rectal mass-like tumor, and rectal invasive tumor. The 3D model information for each shape type represents the standard 3D model information for anorectal lesions set for different types of anorectal lesion shapes. S232. The TSDF three-dimensional feature matching algorithm is used to match the three-dimensional model information of anorectal lesions with the matrix of three-dimensional model information of standard anorectal lesions of different shapes and types. Information on three-dimensional models of standard anorectal lesions of different shapes and types Perform 3D model feature matching to search for standard 3D model information of different shape types of anorectal lesions that best match the 3D model information of anorectal lesions. The corresponding text information on the shape type of anorectal lesions is used to generate anorectal lesion shape type identification information through data identification; S233. Output the generated anorectal lesion shape and type identification information.
[0029] By cooperating with the storage unit of standard anorectal lesion 3D model of different shape types, the anorectal lesion shape type recognition unit and the anorectal lesion shape type recognition output unit, the spatial shape type of anorectal lesions is intelligently identified and output based on the 3D model information of anorectal lesions and combined with the intelligent search algorithm and the 3D model information of standard anorectal lesions of different shape types based on big data storage. This enables intelligent analysis and feedback of the shape and geometric features of anorectal lesions, improving the efficiency and accuracy of anorectal disease feature acquisition.
[0030] For further details, please refer to Figures 1-2 The steps for constructing anorectal physiological geometric feature measurement data and executing real-time push operation of anorectal physiological geometric feature measurement are as follows: S31. Collect and combine the three-dimensional volume data of anorectal lesions, the maximum thickness data of anorectal lesions, and the shape and type identification information of anorectal lesions to obtain anorectal physiological geometric feature measurement data. S32. Use video-text overlay software to push the text information corresponding to the generated anorectal physiological geometric feature measurement data to the display screen of the anorectal electronic endoscope for real-time display output, and perform real-time push operation of anorectal physiological geometric feature measurement. The video-text overlay software includes any one of StreamlabsDesktop, vMix, and OBSStudio.
[0031] By cooperating with the anorectal physiological geometric feature measurement and collection unit and the anorectal physiological geometric feature measurement real-time feedback unit, the anorectal physiological geometric feature measurement data is autonomously and securely constructed based on the three-dimensional volume data, maximum thickness data, and shape type identification information of the anorectal lesions, combined with data processing. At the same time, the anorectal physiological geometric feature measurement results are dynamically and visually pushed to the display screen of the anorectal electronic endoscope, realizing the dynamic synchronous visualization output of the size, shape, and geometric features of the anorectal lesions with the anorectal lesion images, thereby improving the scientificity and applicability of anorectal disease diagnosis.
[0032] Example 2: Please see Figures 1-2 A system for recognizing abnormal physiological geometric features of anorectal diseases is used to implement a method for recognizing abnormal physiological geometric features of anorectal diseases. The system includes an anorectal physiological geometric feature measurement module, an anorectal physiological geometric feature classification module, and an anorectal physiological geometric feature output module. The anorectal physiological geometric feature measurement module includes an anorectal lesion three-dimensional coordinate acquisition unit, an anorectal lesion three-dimensional modeling unit, an anorectal lesion volume measurement unit, an anorectal lesion coordinate reconstruction unit, and an anorectal lesion thickness measurement unit; The system comprises the following components: a 3D coordinate acquisition unit for anorectal lesions, which acquires 3D coordinate data of anorectal lesions using a point cloud camera mounted on the endoscope of an electronic anorectal endoscope; a 3D modeling unit for anorectal lesions, which performs 3D feature modeling processing on the 3D coordinate data to obtain 3D model information of the anorectal lesions; a volume measurement unit for anorectal lesions, which performs spatial volume measurement processing on the 3D model information of the anorectal lesions using measurement tools in 3D design software to obtain 3D volume data of the anorectal lesions; a coordinate reconstruction unit for anorectal lesions, which performs standardized construction processing of the 3D coordinates of the anorectal lesions based on the 3D model information of the anorectal lesions using a GIS system to obtain 3D coordinate reconstruction data of the anorectal lesions; and a thickness measurement unit for anorectal lesions, which performs maximum thickness measurement processing on the 3D coordinate reconstruction data of the anorectal lesions to obtain maximum thickness data of the anorectal lesions. The anorectal physiological geometric feature classification module includes a storage unit for three-dimensional models of standard anorectal lesions of different shapes and types, an anorectal lesion shape type recognition unit, and an anorectal lesion shape type recognition output unit. A storage unit for 3D models of standard anorectal lesions of different shapes is used to store 3D model information of standard anorectal lesions of different shapes; an anorectal lesion shape type recognition unit performs spatial shape type recognition processing on the 3D model information of anorectal lesions and the 3D model information of standard anorectal lesions of different shapes to obtain anorectal lesion shape type recognition information; an anorectal lesion shape type recognition output unit outputs the generated anorectal lesion shape type recognition information. The anorectal physiological geometric feature output module includes an anorectal physiological geometric feature measurement and collection unit and an anorectal physiological geometric feature measurement real-time feedback unit. The anorectal physiological geometric feature measurement and collection unit constructs anorectal physiological geometric feature measurement data based on the three-dimensional volume data of anorectal lesions, the maximum thickness data of anorectal lesions, and the shape and type identification information of anorectal lesions, combined with data processing. The anorectal physiological geometric feature measurement real-time feedback unit performs real-time push operation of anorectal physiological geometric feature measurement based on the anorectal physiological geometric feature measurement data and combined with video text overlay software and the display screen of the anorectal electronic endoscope.
[0033] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for identifying abnormal physiological geometric features of the anorectal region, characterized in that, The method comprises the following steps: S1, collecting anorectal lesion three-dimensional coordinate data, modeling the three-dimensional characteristics of the anorectal lesion based on the three-dimensional coordinates of the anorectal lesion, and obtaining anorectal lesion three-dimensional model information; measuring the spatial volume of the anorectal lesion, and obtaining anorectal lesion three-dimensional volume data; S2, standardizing and constructing the three-dimensional coordinates of the anorectal lesion based on the three-dimensional characteristics of the anorectal lesion, obtaining anorectal lesion three-dimensional coordinate reconstruction data, measuring the maximum thickness of the anorectal lesion according to the three-dimensional coordinate reconstruction parameters of the anorectal lesion, and identifying the spatial shape type of the anorectal lesion according to the three-dimensional characteristics of the anorectal lesion, obtaining anorectal lesion shape type identification information and outputting; S3, constructing anorectal physiological geometric feature measurement data and performing anorectal physiological geometric feature measurement real-time pushing operation.
2. The method for identifying abnormal physiological geometry of the anorectum according to claim 1, characterized in that: The operation steps of S1 are as follows: S11, through the mirror body of the anorectum electronic mirror, a point cloud camera is carried to collect and process the space coordinate point cloud of the external surface of the anorectum lesion part of the patient, and a three-dimensional coordinate data matrix of the anorectum lesion is obtained , the includes ; wherein represents the th three-dimensional coordinate data of the anorectum lesion collected S12, modeling the three-dimensional characteristics of the anorectal lesion based on the anorectal lesion three-dimensional coordinate data matrix, and obtaining anorectal lesion three-dimensional model information; S13, measuring the spatial volume of the anorectal lesion according to the anorectal lesion three-dimensional model information, and obtaining anorectal lesion three-dimensional volume data.
3. The method for identifying an abnormal physiological geometry of the anorectum according to claim 2, characterized in that: The operation steps of S12 are as follows: S121, using a Halcon operator to determine the performing three-dimensional feature modeling processing on the anorectal lesion to obtain three-dimensional model information of the anorectal lesion; the specific operation steps of generating the three-dimensional model information of the anorectal lesion are as follows: S1211, invoke the ; S1212, using Halcon operator: xyz-model-3D, generating a space three-dimensional shape model modelW from a numerical matrix containing three-dimensional space coordinates; wherein xyz-model-3D=(X, Y, Z, modelW), wherein X represents the horizontal coordinate of the anorectal lesion three-dimensional coordinates, Y represents the vertical coordinate of the anorectal lesion three-dimensional coordinates, and Z represents the vertical coordinate of the anorectal lesion three-dimensional coordinates; The method as claimed in claim 1, wherein the step of determining the position of the object is performed by using a Halcon algorithm. The method as claimed in claim 1, wherein the step of determining the position of the object is performed by using a Halcon algorithm. The X, Y and Z coordinates of the Halcon algorithm are sequentially assigned with the horizontal, vertical and vertical coordinates of the anal intestinal lesion according to the three-dimensional coordinate numbering. S1213、When the As described in the The assignment is completed, and the Halcon operator is based on the The three-dimensional model numerical modeling processing of the external surface of the anorectal lesion is performed to generate the three-dimensional model information of the anorectal lesion.
4. The method for identifying abnormal physiological geometry of the anorectum according to claim 3, characterized in that: The operation steps of S13 are as follows: S131, inputting the anorectal lesion three-dimensional model information into a three-dimensional design software to run and open, measuring the spatial volume of the anorectal lesion three-dimensional model based on the measurement tool in the three-dimensional design software, and obtaining anorectal lesion three-dimensional volume data.
5. The method for identifying an abnormal physiological geometry of the anorectum according to claim 4, characterized in that: The operation steps of S2 are as follows: S21, standardizing and constructing the three-dimensional coordinates of the anorectal lesion based on the anorectal lesion three-dimensional model information, and obtaining anorectal lesion three-dimensional coordinate reconstruction data set; S22, measuring the maximum thickness of the anorectal lesion according to the anorectal lesion three-dimensional coordinate reconstruction data set, and obtaining anorectal lesion maximum thickness data; S23, identifying the spatial shape type of the anorectal lesion according to the anorectal lesion three-dimensional model information and different shape type standard anorectal lesion three-dimensional model information matrix, and obtaining anorectal lesion shape type identification information and outputting.
6. The method for identifying an abnormal physiological geometry of the anorectum according to claim 5, characterized in that: The operation steps of S21 are as follows: S211, establishing a space rectangular coordinate system with the contact surface of the anorectal lesion three-dimensional model corresponding to the anorectal lesion three-dimensional model information and the normal anorectal surface as the horizontal and vertical coordinate plane, and obtaining anorectal lesion standard three-dimensional model information; wherein the vertical coordinate value of any space point on the outer surface of the anorectal lesion standard three-dimensional model information represents the lesion thickness of the anorectal lesion relative to the normal anorectal surface; S212, generating spatial coordinates of the outer surface of the anorectal lesion three-dimensional model corresponding to the standard anorectal lesion three-dimensional model information according to the spatial rectangular coordinate system of S211, to obtain anorectal lesion three-dimensional coordinate reconstruction dataset , the includes ; wherein represents the generated first anorectal lesion three-dimensional coordinate reconstruction data; the anorectal lesion three-dimensional coordinate reconstruction data includes the reconstruction of the anorectal lesion outer surface part position horizontal coordinate, reconstruction vertical coordinate and reconstruction vertical coordinate, wherein the value of the reconstruction vertical coordinate in the anorectal lesion three-dimensional coordinate reconstruction data represents the anorectal lesion thickness of the anorectal lesion outer surface position.
7. The method for identifying an abnormal physiological geometry of the anorectum according to claim 6, characterized in that: The operation steps of S22 are as follows: S221、acquire the ; S222、According to the anus intestinal lesion three-dimensional coordinate number order pair said In the middle Internal reconstruction vertical coordinates to search data, and search out the reconstruction of the vertical coordinate value of the largest And the reconstruction of the vertical coordinate value of the largest In the middle of the reconstruction of the vertical coordinate data identification to generate the largest thickness of the anus intestinal lesion data.
8. The method for identifying abnormal physiological geometry of the anorectum according to claim 7, characterized in that: The operation steps of S23 are as follows: S231, establish different shape type standard anorectal lesion three-dimensional model information matrix , the comprise ; wherein indicates the shape type of the anorectal lesion corresponds to the different shape type standard anorectal lesion three-dimensional model information S232, adopt TSDF three-dimensional feature matching algorithm to match the anorectal lesion three-dimensional model information with the Perform three-dimensional model feature matching, search out the Corresponding anorectal lesion shape type text information, and generate anorectal lesion shape type identification information through data identification; S233, output the generated anorectal lesion shape type identification information.
9. The method for identifying an abnormal physiological geometry of the anorectum according to claim 8, characterized in that: The operation steps of the S3 are as follows: S31, perform data collection and combination processing on the anorectal lesion three-dimensional volume data, the anorectal lesion maximum thickness data, and the anorectal lesion shape type identification information to obtain anorectal physiological geometric feature measurement data; S32, push the text information corresponding to the generated anorectal physiological geometric feature measurement data to the display screen end of the electronic anoscope for real-time display output by using video text superimposition software, and perform anorectal physiological geometric feature measurement real-time pushing operation.
10. A system for identifying an abnormal physiological geometric feature of an anorectum for implementing the method for identifying an abnormal physiological geometric feature of an anorectum according to any one of claims 1 to 9, characterized by: The system comprises an anorectal physiological geometric feature measurement module, an anorectal physiological geometric feature classification module, and an anorectal physiological geometric feature output module.
Citation Information
Patent Citations
Animal imaging distributed motion monitoring system and displacement monitoring method
CN114719760B
