Neurosurgery clinical case data management method and platform based on informatization
By building a head model and automatic splitting of wound technology, the problem of inadequate personalization and automation of wound data collection in the existing technology is solved, and the high integrity and accuracy of wound images are achieved, saving physicians' viewing time and improving diagnosis and treatment efficiency.
Patent Information
- Application Number
- CN202510273414.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-04-04
AI Technical Summary
The existing technology is difficult to personalize the collection location based on the actual wound conditions of each patient, improve the integrity and accuracy of the shooting data, and realize automatic comparison of wounds, resulting in the doctor's viewing time for too long, affecting the patient's diagnosis and treatment efficiency.
By constructing the head model of the target patient, obtaining wound information, automatically splitting the wound, determining the acquisition location, receiving the wound image, performing splicing processing, adjusting the positioning area, generating feedback information, and uploading it to the case library.
It realizes personalized customization of the acquisition location according to the wound conditions of each patient, improves the integrity and accuracy of the wound image, saves doctors' viewing time, and improves the patient's diagnosis and treatment efficiency.
Smart Images

Figure CN119763753A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to an informatization-based neurosurgery clinical case data management method and platform. Background Art
[0002] Neurosurgery is a branch of surgery. It is based on surgery as the main treatment method in surgery, and uses unique neurosurgery research methods to study the human nervous system, such as the cranial nervous system, and its related ancillary organs, such as the skull, scalp, and other structural injuries, inflammation, or functional disorders. Therefore, physicians are faced with a huge amount of case data. Timely and accurate analysis and processing of the corresponding clinical case data has an important impact on improving the efficiency of patient diagnosis and treatment.
[0003] At present, due to the different physical conditions or recuperation environments of different patients, there are certain differences in the recovery conditions and speeds of brain wounds. Moreover, the wounds of each patient are also very different. For example, some patients have longer wounds, while others have shorter wounds. At the same time, when patients do not follow the doctor's orders for recuperation, the trauma may worsen. Therefore, after the patient is discharged from the hospital, the real-time wound conditions need to be photographed and fed back within the specified time so that the patient's treatment and recovery strategy can be remotely guided. The existing technology also requires doctors to receive the feedback information sent one by one and view and analyze the wounds, which takes a lot of time to view, seriously affecting the patient's diagnosis and treatment efficiency. Moreover, when the feedback data sent is unclear or incomplete, it will also affect the accuracy of the wound analysis results.
[0004] Therefore, how to customize the corresponding collection position according to the actual wound conditions of each patient, improve the integrity and accuracy of the shooting data, and automatically compare the wounds to save doctors' review time and improve patients' diagnosis and treatment efficiency has become an urgent problem to be solved. Summary of the invention
[0005] The embodiment of the present invention provides an information-based neurosurgery clinical case data management method and platform, which can customize the corresponding collection position according to the actual wound conditions of each patient, improve the integrity and accuracy of the captured data, and perform automatic comparison for the wounds, saving doctors' review time and improving patients' diagnosis and treatment efficiency.
[0006] A first aspect of an embodiment of the present invention provides a method for managing clinical case data of neurosurgery based on informatization, comprising: Construct a head model of the target patient, obtain wound information of the surgical wound corresponding to the head model, and automatically split the surgical wound according to the wound information to obtain sub-split wounds; Determine a capture position corresponding to the surgical wound according to the positioning area of the sub-split wound, and receive a wound image captured by a capture device based on the capture position; When it is determined that there are multiple wound images, the wound images at the acquisition positions are spliced to obtain a wound recognition image, and the positioning area is adjusted based on abnormal pixel points in the transition area of the wound recognition image to obtain a current adjustment area; Based on the comparison information between the current adjustment area and the theoretical positioning area, feedback information is generated, and the feedback information and wound recognition image are uploaded to the case library, and the clinical case data corresponding to the target patient is obtained and sent to the physician end.
[0007] Optionally, in a possible implementation of the first aspect, a head model of a target patient is constructed, wound information of a surgical wound corresponding to the head model is obtained, and the surgical wound is automatically split according to the wound information to obtain sub-split wounds, including: Construct a head model corresponding to the target patient, obtain wound information of the surgical wound corresponding to the head model, and retrieve the wound position of the surgical wound in the wound information; Obtaining the model center point of the head model, and performing coordinate processing on the head model based on the model center point; When it is determined that there are multiple wound positions, the surgical wound corresponding to each wound position is obtained as the position wound, and the wound length of the position wound is obtained as the position length; When it is determined that the azimuth length is greater than the preset acquisition length, the corresponding azimuth wound is used as the wound to be split, and the wound to be split is divided and processed in sequence based on the preset acquisition length to obtain the remaining azimuth length of the wound to be split, until the remaining azimuth length is less than or equal to the preset acquisition length, and a plurality of sub-split wounds corresponding to the wound to be split are obtained; When it is determined that the azimuth length is less than or equal to the preset acquisition length, the corresponding azimuth wound is used as a sub-split wound; The coordinates of the wound pixel points corresponding to the sub-split wounds are obtained as the sub-split coordinates, and the positioning area and transition area corresponding to each sub-split wound are determined according to the sub-split coordinates.
[0008] Optionally, in a possible implementation manner of the first aspect, obtaining coordinates of wound pixel points corresponding to the sub-split wounds as sub-split coordinates, and determining the positioning area and transition area corresponding to each sub-split wound according to the sub-split coordinates, includes: Obtaining the coordinates of the wound pixel points corresponding to the sub-split wound as the sub-split coordinates, and counting the sub-split coordinates to obtain a sub-split coordinate set corresponding to the sub-split wound, and determining the sub-center point coordinates according to the sub-split coordinate set; The distance is calculated based on the positioning coordinates and the sub-center point coordinates to obtain the construction radius, and the sub-positioning sphere is generated based on the construction radius with the pixel point of the sub-center point coordinates as the center of the circle; The intersection plane of the sub-positioning sphere and the head model is obtained as the sub-positioning plane, and the corresponding area of the sub-positioning plane is used as the positioning area of the sub-split wound; The positioning area is magnified based on a preset multiple to obtain an enlarged area corresponding to the sub-split wound, and the transition area is obtained according to the difference between the enlarged area and the positioning area.
[0009] Optionally, in a possible implementation of the first aspect, determining a capture position corresponding to the surgical wound according to the positioning area of the sub-split wound, and receiving a wound image captured by a capture device based on the capture position, includes: Constructing a collection model corresponding to the collection device, configuring a corresponding collection area for the collection model, and obtaining a center point of the collection area as a collection midpoint; The center point of the positioning area of the sub-split wound is obtained as the split midpoint, and the acquisition model is moved until the acquisition midpoint is aligned with the split midpoint to obtain the acquisition position corresponding to the sub-split wound; A positioning area and a transition area corresponding to each sub-split wound are configured for the acquisition area corresponding to the acquisition device, and a wound image acquired by the acquisition device based on the acquisition position is received.
[0010] Optionally, in a possible implementation manner of the first aspect, adjusting the positioning area based on abnormal pixel points in the transition area in the wound recognition image to obtain a current adjustment area includes: Identify abnormal pixel points in the transition area of the wound recognition image based on abnormal pixel values, and obtain regional contour pixel points corresponding to the positioning area as split contour pixel points; Determine that the transition area has abnormal pixels, obtain the center point of the positioning area in the wound recognition image as the adjustment center point, obtain the adjustment orientation line according to the connection line between the adjustment center point and each split contour pixel point, and along the adjustment orientation line, the direction from the adjustment center point to the split contour pixel point is used as the adjustment direction; Taking the adjustment center point as the starting point, the number of abnormal pixel points on each adjustment orientation line is counted based on the adjustment direction to obtain the number of abnormalities corresponding to each adjustment orientation line; The adjusted orientation lines with anomaly numbers greater than 0 are taken as adjusted point lines, and the remaining adjusted orientation lines are taken as unadjusted point lines, and the intersection points of the adjusted point lines and the split contour pixel points are obtained as split offset points; The corresponding split offset point is moved based on the number of anomalies and the adjustment direction to obtain the split adjustment point, and the intersection of the unadjusted point line and the split contour pixel point is used as the split adjustment point; Connect adjacent split adjustment points to obtain the current adjustment area.
[0011] Optionally, in a possible implementation of the first aspect, feedback information is generated according to comparison information between the current adjustment area and the theoretical positioning area, the feedback information and the wound recognition image are uploaded to the case library, and clinical case data corresponding to the target patient is obtained and sent to the physician end, including: Retrieve the theoretical positioning area corresponding to the current moment, obtain the number of pixels in the theoretical positioning area as the theoretical number, and obtain the number of pixels in the current adjustment area as the actual number; When it is determined that the actual quantity is greater than the theoretical quantity, deterioration feedback information is generated; When it is determined that the actual quantity is less than or equal to the theoretical quantity, improvement feedback information is generated; Feedback information is obtained based on the deterioration feedback information and the improvement feedback information, and the feedback information and the wound identification image are uploaded to the case library, and the clinical case data corresponding to the target patient is obtained and sent to the physician end.
[0012] Optionally, in a possible implementation of the first aspect, before the step of automatically splitting the surgical wound according to the wound information to obtain sub-split wounds, the method further includes: Obtaining a model center point of the head model, performing coordinate processing on the head model based on the model center point, and obtaining wound information of a surgical wound corresponding to the head model, the wound information including wound length and wound depth; The wound length and wound depth are weighted and calculated respectively to obtain the wound coefficient corresponding to the surgical wound; When it is determined that the wound coefficient is less than the preset coefficient value, the corresponding surgical wound is used as a debridement wound, the wound contour of the debridement wound is identified as a debridement contour, and a debridement rejection area is generated according to the debridement contour; When it is determined that the wound coefficient is greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and a suture rejection area is generated based on the contour to be sutured and the swelling pixel value; Send the debridement rejection area and suture rejection area to the surgical end.
[0013] Optionally, in a possible implementation of the first aspect, when it is determined that the wound coefficient is less than a preset coefficient value, the corresponding surgical wound is used as a debridement wound, the wound contour of the debridement wound is identified as a debridement contour, and a debridement removal area is generated according to the debridement contour, including: When it is determined that the wound coefficient is less than the preset coefficient value, the corresponding surgical wound is used as a debridement wound, and the wound contour of the debridement wound is identified as a debridement contour; Retrieving the debridement contour pixel points corresponding to the debridement contour, and obtaining the contour center point of the debridement contour as the debridement midpoint; The debridement midpoint is connected with the debridement contour pixel point to obtain a directional elimination line, and the direction from the debridement midpoint to the debridement contour pixel point along the directional elimination line is used as the elimination direction; Based on the removal direction and the preset removal distance moving direction, the debridement contour pixel points on the removal line are removed to obtain the removal contour pixel points, and the adjacent removal contour pixel points are connected to obtain the debridement removal area.
[0014] Optionally, in a possible implementation of the first aspect, when it is determined that the wound coefficient is greater than or equal to a preset coefficient value, the corresponding surgical wound is used as a wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and a suture rejection area is generated based on the contour to be sutured and the swelling pixel value, including: When it is determined that the wound coefficient is greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and the contour pixel points to be sutured of the contour to be sutured and the contour center point are obtained as the midpoint to be sutured; Obtain the direction elimination line and elimination direction corresponding to the contour to be stitched, and extract the adjacent swelling pixel points around the contour to be stitched based on the swelling pixel value; Based on the removal direction of the contour to be stitched, the number of swelling pixel points on the removal line in each direction of the contour to be stitched is counted as a swelling offset; Determine a preset number interval of the swelling offset in a preset number comparison table as an offset number interval, and retrieve a preset offset distance based on the offset number interval as the swelling offset distance, wherein the preset number comparison table includes a one-to-one correspondence between the preset number interval and the preset offset distance; Based on the removal direction of the contour to be stitched, the swelling pixel point or the pixel point of the contour to be stitched that is farthest from the midpoint of the contour to be stitched on the removal lines in each direction of the contour to be stitched is selected as the offset pixel point; According to the sum of the preset stitching distance and the swelling offset distance, the stitching offset distance corresponding to each offset pixel point is obtained; Based on the removal direction and the stitching offset distance of the contour to be stitched, the offset pixels on the removal line are moved to obtain the removal contour pixels, and the adjacent removal contour pixels are connected to obtain the stitching removal area.
[0015] The second aspect of the present invention provides an information-based neurosurgery clinical case data management platform, comprising: The splitting module is used to construct a head model of the target patient, obtain the wound information of the surgical wound corresponding to the head model, and automatically split the surgical wound according to the wound information to obtain sub-split wounds; A determination module, used to determine a collection position corresponding to the surgical wound according to the positioning area of the sub-split wound, and receive a wound image collected by the collection device based on the collection position; A stitching module is used to stitch the wound images at the acquisition position when it is determined that there are multiple wound images, obtain a wound recognition image, and adjust the positioning area based on abnormal pixel points in the transition area of the wound recognition image to obtain a current adjustment area; The generation module is used to generate feedback information based on the comparison information between the current adjustment area and the theoretical positioning area, upload the feedback information and the wound recognition image to the case library, and obtain the clinical case data corresponding to the target patient and send it to the physician end.
[0016] According to a third aspect of the present invention, an electronic device is provided, comprising: a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the first aspect of the present invention and various methods that may be involved in the first aspect.
[0017] According to a fourth aspect of the present invention, a storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the first aspect of the present invention and various methods that may be involved in the first aspect.
[0018] The beneficial effects of the present invention are as follows: 1. The present invention can customize the corresponding acquisition position according to the actual wound conditions of each patient, improve the integrity and accuracy of the captured data, and automatically compare the wound images, saving the doctor's viewing time and improving the patient's diagnosis and treatment efficiency. First of all, the present invention can construct a three-dimensional head model corresponding to the target patient, so as to automatically split the surgical wound in combination with information such as the orientation, length and depth of the surgical wound, and ensure that the wound is divided into multiple sub-split wounds, avoiding information omissions or data deviations of the collected images caused by the wound spanning multiple orientations, and improving the accuracy of the wound analysis results. Through the division of the head model and the wound, it is easy to improve the clarity and accuracy of subsequent wound images, significantly improve the accuracy of wound data processing, and provide a solid foundation for subsequent image acquisition.
[0019] 2. The present invention can automatically determine the acquisition position of the wound so as to improve the accuracy of the wound image captured by the acquisition device. Among them, the present invention can determine the image acquisition position according to the positioning area after obtaining the sub-split wound information, and use the acquisition device to capture the image of the wound at the acquisition position to obtain a wound image with higher clarity, which is convenient for subsequent image recognition and analysis. At the same time, by splicing the multiple wound images collected, a complete wound recognition image is generated to fully display the image of the surgical wound. Finally, the present invention can dynamically adjust the positioning area according to the abnormal pixels in the image to obtain the current adjustment area, which can timely reflect the changes in the wound, facilitate subsequent comparison with the theoretical positioning area, provide real-time treatment feedback for doctors, and improve the effectiveness of wound monitoring.
[0020] 3. The present invention compares the current adjustment area with the theoretical positioning area, generates feedback information and uploads it to the case database, thus realizing dynamic monitoring and management of wound conditions. In clinical applications, it can quickly identify the deterioration or improvement of wounds, providing a basis for doctors to adjust treatment plans in a timely manner, thus improving the management efficiency of case data. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A flowchart of a method for managing clinical case data of neurosurgery based on informatization provided by the present invention; Figure 2 A schematic diagram of a wound recognition image provided by the present invention; Figure 3 This is a schematic diagram of the structure of an information-based neurosurgery clinical case data management platform provided by the present invention; Figure 4 A schematic diagram of the hardware structure of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0022] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0023] like Figure 1 As shown, the present invention provides a method for managing clinical case data of neurosurgery based on informatization, comprising: S1, construct a head model of the target patient, obtain wound information of the surgical wound corresponding to the head model, and automatically split the surgical wound according to the wound information to obtain sub-split wounds.
[0024] It should be noted that in order to enable patients to accurately photograph surgical wounds for subsequent analysis of wound treatment, a corresponding head model can be customized according to each target patient to improve the accuracy of subsequent automatic analysis and identification results of surgical wound information.
[0025] It is understandable that when a surgical wound passes through multiple directions of the head, such as spreading from the front of the head to the side of the head, the wound cannot be clearly and completely captured in one picture. Moreover, when photographing the wound, due to the curved surface of the head, there will be certain deviations in information such as the length of the wound. Therefore, the surgical wound can be automatically split according to the wound information to determine multiple sub-split wounds, which facilitates the subsequent determination of the acquisition position of each sub-split wound, thereby improving the integrity and accuracy of the surgical wound acquisition image.
[0026] Among them, the target patient is a neurosurgery patient undergoing treatment analysis, the head model is a three-dimensional virtual model of the target patient's head, so that the wound condition can be displayed more accurately later, the surgical wound is a wound located on the scalp, the wound information is the attribute information corresponding to the surgical wound, at least including the orientation, length and depth of the wound, and the sub-split wound is the sub-wound after the surgical wound is split, for example, a longer surgical wound is split into multiple shorter wounds.
[0027] Through the above implementation, the present invention can divide the surgical wound to obtain multiple sub-divided wounds, which is convenient for subsequent image acquisition of the sub-divided wounds and improves the integrity and clarity of the image.
[0028] In some embodiments, the specific implementation steps of step S1 (constructing a head model of the target patient, obtaining wound information of the surgical wound corresponding to the head model, and automatically splitting the surgical wound according to the wound information to obtain sub-split wounds) include: S11, constructing a head model corresponding to the target patient, obtaining wound information of the surgical wound corresponding to the head model, and retrieving the wound position of the surgical wound in the wound information.
[0029] It can be understood that after constructing the head model corresponding to the target patient, it is convenient to display the corresponding wound on the head model according to the wound information of the surgical wound obtained, so as to divide the corresponding surgical wound according to the head model.
[0030] The wound position refers to the position of the surgical wound on the head, for example, it can be the front, side, etc.
[0031] S12, obtaining a model center point of the head model, and performing coordinate processing on the head model based on the model center point.
[0032] It can be understood that the model center point is the center point of the head model.
[0033] It is not difficult to understand that the head model is obtained as the model center point so as to coordinate the head model, thereby facilitating the subsequent division of the surgical wound according to the wound information.
[0034] S13, when it is determined that there are multiple wound positions, the surgical wound corresponding to each wound position is obtained as the position wound, and the wound length of the position wound is obtained as the position length.
[0035] It can be understood that when it is determined that the surgical wound is longer, for example, the wound extends from the forehead to the scalp on the right side, passing through multiple directions, multiple wound directions (front and right) can be obtained, and based on the wound on the head model, the length of the wound corresponding to the wound direction is determined to obtain the direction length, for example, the distance length of the wound located on the front side of the head, so that the wound division position can be determined later according to the direction length.
[0036] Among them, the orientation wound is a surgical wound corresponding to the orientation of the wound, the wound length is the distance length of the wound, and the orientation length is the length corresponding to the orientation wound.
[0037] Through the above implementation, the present invention can determine the location of the wound and the location length, so as to subsequently divide the completed surgical wound and facilitate the shooting of the wound image.
[0038] S14, when it is determined that the azimuth length is greater than the preset acquisition length, the corresponding azimuth wound is used as the wound to be split, and the wound to be split is divided and processed in sequence based on the preset acquisition length to obtain the remaining azimuth length of the wound to be split, until the remaining azimuth length is less than or equal to the preset acquisition length, and multiple sub-split wounds corresponding to the wound to be split are obtained.
[0039] It can be understood that when it is determined that the azimuth length is greater than the preset acquisition length, it can be said that the length of the azimuth wound corresponding to the wound orientation is longer. When the wound is subsequently imaged, if all the azimuth wounds are to be captured in one image, it is easy to affect the clarity. Therefore, one end can be selected to divide the wound to be split according to the preset acquisition length, so as to obtain the remaining azimuth length of the wound to be split. Then, the remaining azimuth length can be continued to be compared and judged with the preset acquisition length until the remaining azimuth length is less than or equal to the preset acquisition length. In this case, the length of the remaining wound to be split is shorter and meets the range length of the image shooting. Then, multiple sub-split wounds divided according to the length can be obtained.
[0040] The preset acquisition length is a length corresponding to a preset optimal acquisition range, such as 3CM, and the wound to be split is a directional wound whose directional length is greater than the preset acquisition length.
[0041] Through the above implementation, the present invention can divide the azimuthal wound into multiple sub-split wounds, which is convenient for subsequent acquisition of clear wound images and improves the accuracy of subsequent automatic analysis and judgment of the images.
[0042] S15, when it is determined that the azimuth length is less than or equal to the preset acquisition length, the corresponding azimuth wound is used as a sub-split wound.
[0043] It can be understood that when the azimuth length is less than or equal to the preset acquisition length, it means that the length of the current azimuth wound is still relatively short and cannot be divided. A clear wound image can be captured later. Therefore, the azimuth wound with an azimuth length less than or equal to the preset acquisition length can be directly used as a sub-split wound so that the sub-split wound can be photographed later.
[0044] S16, obtaining coordinates of the wound pixel points corresponding to the sub-split wounds as sub-split coordinates, and determining the positioning area and transition area corresponding to each sub-split wound according to the sub-split coordinates.
[0045] It should be noted that when the patient's wound does not improve within a certain period of time after surgery, but instead becomes inflamed and aggravates the condition, the corresponding wound will show abnormal conditions such as redness, swelling, and bleeding. Then, the corresponding positioning area and transition area can be determined according to the wound condition of each patient, so as to judge the patient's current wound condition in the future and facilitate timely adjustment of the patient's diagnosis and treatment plan.
[0046] It can be understood that the wound pixel point is the corresponding pixel point of the sub-split wound, the sub-split coordinates are the position coordinates corresponding to the wound pixel point, the positioning area is the area for determining the position of the sub-split wound, and the transition area is the area where inflammation spreads from the wound, that is, the area between the area corresponding to the sub-split wound and the area where inflammation occurs in the largest wound.
[0047] In some embodiments, the specific implementation steps of step S16 (obtaining the coordinates of the wound pixel points corresponding to the sub-split wounds as the sub-split coordinates, and determining the positioning area and transition area corresponding to each sub-split wound according to the sub-split coordinates) include: S161, obtaining coordinates of wound pixel points corresponding to the sub-split wound as sub-split coordinates, and counting the sub-split coordinates to obtain a sub-split coordinate set corresponding to the sub-split wound, and determining the sub-center point coordinates according to the sub-split coordinate set.
[0048] It should be noted that since the surgical wounds corresponding to different patients are inconsistent, in order to improve the accuracy of judging the wound recovery results, the wound area corresponding to the sub-split wound can be obtained, so that a more accurate positioning area and transition area can be determined based on the wound area later.
[0049] It can be understood that the sub-split coordinates are the coordinates of the wound pixel points corresponding to the sub-split wound, and the sub-split coordinate set is the set of sub-split coordinates corresponding to the sub-split wound.
[0050] It can be understood that in order to obtain the positioning area and transition area corresponding to each sub-split wound, the maximum horizontal coordinate, minimum horizontal coordinate, maximum vertical coordinate, minimum vertical coordinate, maximum vertical coordinate and minimum vertical coordinate in the sub-split coordinate set can be obtained, so as to facilitate the subsequent acquisition of the center point position corresponding to each sub-split wound area, and then, facilitate the generation of a sub-positioning sphere, and determine the positioning area of the sub-split wound.
[0051] Among them, the maximum horizontal coordinate is the maximum value of the horizontal coordinate, the minimum horizontal coordinate is the minimum value of the horizontal coordinate, the maximum vertical coordinate is the maximum value of the vertical coordinate, the minimum vertical coordinate is the minimum value of the vertical coordinate, the maximum vertical coordinate is the maximum value of the vertical coordinate, and the minimum vertical coordinate is the minimum value of the vertical coordinate.
[0052] It is worth mentioning that the central horizontal coordinate can be obtained based on the average of the maximum horizontal coordinate, the minimum horizontal coordinate and the value, the central vertical coordinate can be obtained based on the maximum vertical coordinate and the minimum vertical coordinate, and the central vertical coordinate can be obtained based on the maximum vertical coordinate and the minimum vertical coordinate.
[0053] It can be understood that the central horizontal coordinate is the average value of the maximum horizontal coordinate and the minimum horizontal coordinate and the value, the central vertical coordinate is the maximum vertical coordinate and the minimum vertical coordinate, and the central vertical coordinate is the maximum vertical coordinate and the minimum vertical coordinate.
[0054] Through the above implementation steps, the present invention can obtain the central horizontal coordinate, central vertical coordinate and central vertical coordinate, so as to subsequently determine the coordinates of the sub-center points corresponding to the sub-split wounds, thereby facilitating the subsequent generation of sub-positioning spheres.
[0055] Furthermore, based on the central horizontal coordinate, the central vertical coordinate and the central vertical coordinate, the sub-center point coordinates corresponding to the sub-split incision are obtained, and the sub-split coordinates farthest from the sub-center point coordinates are obtained as positioning coordinates.
[0056] It can be understood that the sub-center point coordinates are the coordinates of the center position point corresponding to the sub-split incision, and the positioning coordinates are the sub-split coordinates farthest from the sub-center point coordinates.
[0057] It is not difficult to understand that in order to wrap all the wounds in a regular area for subsequent analysis of the wounds, the sub-split coordinates farthest from the sub-center point coordinates can be selected as the positioning coordinates, so as to subsequently determine the corresponding construction radius and generate a sub-positioning sphere.
[0058] S162, performing distance calculation based on the positioning coordinates and the sub-center point coordinates to obtain a construction radius, taking the pixel point of the sub-center point coordinates as the center of the circle, and generating a sub-positioning sphere based on the construction radius.
[0059] It can be understood that the construction radius is the radius of the regular area, that is, the length distance between two points is calculated by the positioning coordinates and the sub-center point coordinates, and the sub-positioning sphere is a regular sphere for positioning the sub-split wound area.
[0060] S163, obtaining the intersection plane of the sub-positioning sphere and the head model as the sub-positioning plane, and using the area corresponding to the sub-positioning plane as the positioning area of the sub-split wound.
[0061] It can be understood that, since the sub-positioning sphere is embedded in the head model, the intersection plane of the sub-positioning sphere and the head model can be used as the sub-positioning plane to obtain the positioning area of the sub-split wound.
[0062] Among them, the intersection plane is the regional plane corresponding to the intersection of the sub-positioning sphere and the head model on the head model, the sub-positioning plane is the positioning plane corresponding to the sub-split wound, and the positioning area is the three-dimensional area corresponding to the sub-positioning plane.
[0063] S164, magnifying the positioning area based on a preset multiple to obtain an enlarged area corresponding to the sub-split wound, and obtaining a transition area based on a difference set between the enlarged area and the positioning area.
[0064] It should be noted that, based on the disease information corresponding to different patients, the inflammatory area that may be caused by the wound is predicted to obtain the maximum area where the wound extends, that is, the enlarged area corresponding to the sub-split wound, so as to perform difference calculation with the positioning area and determine the transition area, which is convenient for subsequent comparison and analysis of the collected wound images.
[0065] It can be understood that the preset magnification is a preset magnification, the magnified area is the magnified area corresponding to the sub-split wound, and the transition area is the difference area between the magnified area and the positioning area.
[0066] S2, determining a collection position corresponding to the surgical wound according to the positioning area of the sub-split wound, and receiving a wound image collected by a collection device based on the collection position.
[0067] Among them, the acquisition position is the position where the image of the surgical wound is acquired, the acquisition device is a device for acquiring the image, such as a camera, a mobile phone or other shooting device, and the wound image is an image captured of the wound.
[0068] Through the above implementation, the present invention can determine the acquisition position corresponding to the surgical wound and acquire the wound image, so as to subsequently perform splicing processing on the acquired multiple wound images.
[0069] In some embodiments, the specific implementation steps of step S2 (determining the acquisition position corresponding to the surgical wound according to the location area of the sub-split wound, and receiving the wound image acquired by the acquisition device based on the acquisition position) include: S21, constructing a collection model corresponding to the collection device, configuring a corresponding collection area for the collection model, and obtaining a center point of the collection area as a collection midpoint.
[0070] It should be noted that in order to determine the acquisition position corresponding to each sub-split wound, so as to construct an acquisition model corresponding to the acquisition device, the acquisition device is preferentially simulated in the electronic device to shoot the wound at various positions to determine whether the obtained image meets the requirements, that is, the position corresponding to the image that meets the conditions is used as the acquisition position, which can be sent to the user end later so that the user end can collect images of the wound according to the corresponding acquisition position information.
[0071] It can be understood that the acquisition model is a twin model corresponding to the acquisition device, the acquisition area is the area for image acquisition, that is, it can be the area for simulating wound photography, and the acquisition midpoint is the midpoint for image acquisition, that is, the center point of the acquisition area.
[0072] S22, obtaining the center point of the positioning area of the sub-split wound as the split midpoint, moving the acquisition model until the acquisition midpoint is aligned with the split midpoint, and obtaining the acquisition position corresponding to the sub-split wound.
[0073] It can be understood that the center point of the positioning area is obtained in order to move the acquisition model so that the acquisition midpoint is aligned with the splitting midpoint, and the exact position of the acquisition model for image acquisition of the wound is determined, so that the corresponding acquisition position can be sent to the user later, so that the user can take a picture of the wound on the head according to the simulated position to ensure the clarity and integrity of the image.
[0074] Among them, the split midpoint is the center point of the positioning area of the sub-split wound, and the acquisition position is the shooting position for wound image acquisition, including the relative position of the acquisition device and the head, the interval distance between the acquisition device and the wound, and the inclination angle, etc., so that subsequent users can shoot and collect the wound on the head according to the corresponding acquisition position.
[0075] It is worth mentioning that the existing technologies such as VR technology can also be used to pre-simulate the images of the shooting angles. For example, the corresponding preset collection angles can be set for each direction in advance. For example, the top surface corresponding to the head is photographed from a bird's-eye view and collected at a fixed distance. The collection position can be obtained through automatic computer processing.
[0076] S23, configuring a positioning area and a transition area corresponding to each sub-split wound for the acquisition area corresponding to the acquisition device, and receiving the wound image acquired by the acquisition device based on the acquisition position.
[0077] It can be understood that in order to facilitate a more accurate judgment of the recovery status of the current patient's wound in the future, corresponding positioning areas and transition areas can be configured for the acquisition areas corresponding to each acquisition position, so that when the wound is subsequently imaged, the wound image contains positioning areas and transition areas, so that the wound image can be compared and identified later.
[0078] S3, when it is determined that there are multiple wound images, the wound images at the acquisition position are spliced to obtain a wound recognition image, and the positioning area is adjusted based on abnormal pixel points in the transition area of the wound recognition image to obtain a current adjustment area.
[0079] It should be noted that when it is determined that a surgical wound can be divided into multiple sub-split wounds, there are also multiple corresponding wound images collected. Therefore, in order to be able to identify and analyze the complete surgical wound, the multiple wound images obtained can be spliced to obtain a wound recognition image, and then, abnormal pixels located in the transition area of the wound recognition image can be identified, so that the positioning area can be adjusted according to the abnormal pixels, thereby obtaining the current adjustment area, which is convenient for subsequent comparison with the pre-set wound area to determine the wound recovery result.
[0080] It is understandable that when there are abnormal pixels in the transition area, it means that the surgical wound on the patient's head has not been reduced, but the inflammation has worsened and extended, causing swelling or abnormal pixels in the transition area. Therefore, the positioning area can be adjusted according to the abnormal pixels so that the changes in the corresponding wound can be clearly reflected.
[0081] Among them, the wound recognition image is an image for identifying the wound condition, that is, an image of a complete surgical wound obtained by splicing and deduplicating multiple wound images, the abnormal pixel points are pixel points corresponding to abnormal pixel values, for example, they can be pixel points corresponding to red pixel values corresponding to swelling and bleeding, that is, pixel points that are inconsistent with the scalp color, and the current adjustment area is the area obtained after the current positioning area is adjusted.
[0082] In some embodiments, the specific implementation steps of step S3 (when determining that there are multiple wound images, stitching the wound images at the acquisition position to obtain a wound recognition image, and adjusting the positioning area based on abnormal pixel points in the transition area of the wound recognition image to obtain the current adjustment area) include: S31, identifying abnormal pixel points in the transition area of the wound recognition image based on abnormal pixel values, and obtaining regional contour pixel points corresponding to the positioning area as split contour pixel points.
[0083] It can be understood that the abnormal pixel value is a pixel value inconsistent with the scalp pixel value, such as red, pink, etc. The regional contour pixel point is the contour pixel point corresponding to the positioning area, and the split contour pixel point is the regional contour pixel point corresponding to the positioning area.
[0084] Through the above implementation, the present invention can determine abnormal pixel points and split contour pixel points, so as to subsequently adjust the positioning area according to the abnormal pixel points and split contour pixel points.
[0085] S32, determine whether the transition area has abnormal pixels, obtain the center point of the positioning area in the wound recognition image as the adjustment center point, and obtain the adjustment orientation line based on the connection line between the adjustment center point and each split contour pixel point. Along the adjustment orientation line, the direction from the adjustment center point to the split contour pixel point is used as the adjustment direction.
[0086] It can be understood that when it is determined that there are abnormal pixels in the transition area, it can be explained that the corresponding surgical wound of the patient has spread outward, that is, the wound has worsened. Therefore, the adjustment center point, adjustment orientation line and adjustment direction can be obtained so that adjustments can be made according to the actual positioning area and abnormal pixels.
[0087] Among them, the adjustment center point is the center point of the positioning area in the wound identification image, and the positioning area is the area after the positioning areas in multiple wound images are spliced together. The adjustment orientation line is the line segment that determines the direction of the area adjustment. The adjustment direction is the direction of the area adjustment, that is, the adjustment center point points to the direction of the split contour pixel point.
[0088] For example, Figure 2 As shown, multiple wound images are de-duplicated and spliced into a wound identification image, wherein the positioning area and transition area in each wound image are de-duplicated and spliced together to obtain a complete positioning area and transition area corresponding to the surgical wound. Thus, when it is identified that there are abnormal pixels in the transition area in the wound identification image of the patient at the current moment, that is, when the wound exceeds the positioning area and spreads into the transition area, the center point of the current positioning area can be obtained as the adjustment center point, and connected and extended with the split contour pixel points on the positioning area to obtain an adjustment orientation line, which is convenient for subsequent identification of the number of abnormal pixels on the adjustment orientation line, so as to adjust the positioning area and obtain the current adjustment area currently representing the wound area, which truly reflects the changes in the wound area and improves the accuracy of subsequent comparison with the theoretical positioning area.
[0089] S33, taking the adjustment center point as the starting point, counting the number of abnormal pixel points on each adjustment orientation line based on the adjustment direction, and obtaining the number of abnormalities corresponding to each adjustment orientation line.
[0090] It can be understood that the number of abnormalities is the number of abnormal pixel points on the adjusted orientation line.
[0091] It is not difficult to understand that the more abnormal pixel points there are on the adjustment orientation line corresponding to the adjustment direction, the longer the wound spreads in the corresponding direction, and the more serious the wound is. Therefore, the number of abnormalities can be counted so that the positioning area can be customized according to the number of abnormalities corresponding to each adjustment orientation line, so that the adjusted area is more in line with the wound shape at the current moment, which is convenient for subsequent comparison and judgment of the wound condition.
[0092] S34, taking the adjusted orientation lines with anomaly numbers greater than 0 as adjusted point lines, and taking the remaining adjusted orientation lines as unadjusted point lines, and obtaining the intersection of the adjusted point lines and the split contour pixel points as split offset points.
[0093] It can be understood that when the number of anomalies is greater than 0, it can be explained that there is a wound spreading on the adjustment orientation line, and therefore, the corresponding split contour pixel points can be moved to obtain the current adjustment area.
[0094] Among them, the adjusted point line is the adjusted orientation line with anomaly number greater than 0, the unadjusted point line is the adjusted orientation line with anomaly number not greater than 0, and the split offset point is the position point for regional offset adjustment, that is, the intersection of the adjusted point line and the split contour pixel point.
[0095] S35, moving the corresponding splitting offset point based on the abnormal number and the adjustment direction to obtain the splitting adjustment point, and taking the intersection of the unadjusted point line and the splitting contour pixel point as the splitting adjustment point.
[0096] It can be understood that the split offset point is moved in the adjustment direction according to the number of anomalies to determine the split adjustment point after the move. When the number of anomalies is 0, there is no need to move the split offset point. Therefore, the intersection of the corresponding unadjusted point line and the split contour pixel point can be directly used as the split adjustment point, so that the split adjustment points can be connected in sequence subsequently to obtain the current adjustment area.
[0097] The split adjustment point is the position point of the surgical wound corresponding area after adjustment.
[0098] S36, connecting adjacent split adjustment points to obtain a current adjustment area.
[0099] It can be understood that adjacent split adjustment points are connected in sequence, so as to obtain the current adjustment area, so as to be subsequently compared with the theoretical positioning area, so as to obtain feedback information for wound analysis.
[0100] It is worth mentioning that when it is determined that the transition area does not have abnormal pixels, the real-time wound contour of the surgical wound in the positioning area is identified and the real-time wound contour is used as the current adjustment area.
[0101] Among them, the real-time wound contour is the regional contour corresponding to the surgical wound at the current moment, that is, when there are no abnormal pixels in the transition area, it can be said that the patient's wound has recovered normally and no abnormal lesions have occurred. Therefore, the current implemented wound contour can be directly identified as the current adjustment area, that is, there is no movement of pixels, so that it can be compared with the theoretical positioning area later to determine the wound recovery status.
[0102] It should be noted that, since the wound shapes corresponding to different patients are different, and the degree of recovery or spread of inflammation is also inconsistent, the final adjusted shapes are also different. The present invention can truly display the adjustment area of the corresponding wound changes according to the actual situation of each patient.
[0103] S4, based on the comparison information between the current adjustment area and the theoretical positioning area, feedback information is generated, the feedback information and the wound recognition image are uploaded to the case library, and the clinical case data corresponding to the target patient is obtained and sent to the physician end.
[0104] It can be understood that by comparing the current adjustment area with the theoretical positioning area, feedback information about the surgical wound can be generated, so that the feedback information and wound identification image can be uploaded to the case library, and the clinical case data corresponding to the target patient can be obtained and sent to the physician end.
[0105] Among them, the theoretical positioning area is the size area of the theoretical surgical wound that is pre-set according to the patient's corresponding wound and the time of feedback of the wound image. The feedback information is the result of comparing the current adjustment area with the theoretical positioning area. The case library is a database for storing case information. The clinical case data is the clinical case data corresponding to the target patient, including the target patient's feedback information and wound identification image. The physician end is the information terminal of the physician who diagnoses and treats the patient, such as the doctor's computer, mobile phone, etc.
[0106] In some embodiments, the specific implementation steps of step S4 (generating feedback information based on the comparison information of the current adjustment area and the theoretical positioning area, uploading the feedback information and the wound recognition image to the case library, and obtaining the clinical case data corresponding to the target patient and sending it to the physician end) include: S41, calling the theoretical positioning area corresponding to the current moment, obtaining the number of pixels in the theoretical positioning area as the theoretical number, and obtaining the number of pixels in the current adjustment area as the actual number.
[0107] It is understandable that the wound is gradually recovering with the passage of time, so the theoretical positioning areas corresponding to different moments are also different. Therefore, the corresponding theoretical positioning areas can be retrieved according to the current moment to improve the accuracy of the feedback information.
[0108] The theoretical number is the number of pixels in the theoretical positioning area, and the actual number is the number of pixels in the current adjustment area.
[0109] Through the above implementation, the present invention can determine the theoretical quantity and the actual quantity, so as to compare the theoretical quantity and the actual quantity subsequently to obtain feedback information.
[0110] S42, when it is determined that the actual number is greater than the theoretical number, generating deterioration feedback information.
[0111] It is understandable that when the actual number is greater than the theoretical number, it means that the current actual wound area is larger than the area where the theoretical wound should recover, indicating that the current wound has seriously spread, and deterioration feedback information can be generated for subsequent sending to the physician side, so that the physician can promptly determine the diagnosis and treatment adjustment plan.
[0112] The deterioration feedback information is information about the deterioration of the wound.
[0113] S43, when it is determined that the actual quantity is less than or equal to the theoretical quantity, generating improvement feedback information.
[0114] It can be understood that when the actual number is less than or equal to the theoretical number, it can be explained that the current actual wound area is less than or equal to the theoretical wound area, which means that the current wound has not deteriorated and is recovering normally, and thus, improvement feedback information can be generated.
[0115] Among them, the improvement feedback information is feedback information that the wound has improved.
[0116] S44, obtaining feedback information according to the deterioration feedback information and the improvement feedback information, uploading the feedback information and the wound recognition image to the case database, obtaining clinical case data corresponding to the target patient and sending it to the physician end.
[0117] It should be noted that after receiving the feedback information, the feedback information and the spliced wound identification image can be uploaded to the case library together, so that the physician can promptly retrieve the clinical case data corresponding to the target patient, so that the physician can quickly review and adjust the diagnosis and treatment plan, saving the physician's review time and improving the patient's diagnosis and treatment efficiency.
[0118] It can be understood that the feedback information includes deterioration feedback information and improvement feedback information.
[0119] It should be noted that before the step of automatically splitting the surgical wound according to the wound information to obtain sub-split wounds, the following steps are also included: A1, obtain the model center point of the head model, coordinate the head model based on the model center point, and obtain the wound information of the surgical wound corresponding to the head model, the wound information includes the wound length and wound depth.
[0120] It should be noted that when treating a surgical wound on the target patient's head, the hair around the wound needs to be shaved so that the doctor can promptly treat the wound on the head. However, the severity of the wound will have a certain impact on the area of hair shaved. That is, the more severe and longer the wound is, the more steps are required for diagnosis and treatment, and the larger the area of hair that needs to be shaved. Conversely, the shaved area will become smaller. In order to improve the accuracy of the shaved hair area, calculations and analysis can be performed based on the wound information to determine a more accurate debridement and removal area, so that the diagnosis and treatment can be completed without shaving too much hair.
[0121] It can be understood that the model center point is the center point of the head model, and the wound information includes the wound length and the wound depth, wherein the wound length is the length distance of the surgical wound, and the wound depth is the depth of the surgical wound.
[0122] A2, weighted calculation is performed on the wound length and wound depth respectively to obtain the wound coefficient corresponding to the surgical wound.
[0123] It is understandable that the two influencing factors of wound length and wound depth are considered and weighted calculation is performed to obtain the wound coefficient corresponding to the surgical wound.
[0124] The wound coefficient can be obtained by the following formula: in, is the wound coefficient, is the wound length, is the length weight, is the wound depth, is the depth weight.
[0125] It is understandable that when the wound length The longer and deeper the wound The deeper the wound is, the larger the wound coefficient will be after multiplying it with the corresponding weight and then adding it together. Conversely, when the wound length is The shorter the wound, the deeper the The shallower the wound, the smaller the wound coefficient value obtained by multiplying it with the corresponding weight and then adding it together will be.
[0126] The length weight is the weight of the wound length in calculating the wound coefficient, which may be preset, and the depth weight is the weight of the wound depth in calculating the wound coefficient, which may be preset.
[0127] A3, when the determined wound coefficient is less than the preset coefficient value, the corresponding surgical wound is used as the debridement wound, the wound contour of the debridement wound is identified as the debridement contour, and the debridement removal area is generated according to the debridement contour.
[0128] It is understandable that when the wound coefficient is less than the preset coefficient value, it can be said that the current wound is not serious and only needs to be cleaned without suturing, so the area for debridement and shaving will not be large.
[0129] Among them, the preset coefficient value is a preset wound basic coefficient value, the debridement wound is a surgical wound whose wound coefficient is less than the preset coefficient value, the debridement contour is the wound contour of the debridement wound, and the debridement exclusion area is the shaved area for cleaning the debridement wound.
[0130] In some embodiments, the specific implementation steps of step A3 (when the wound coefficient is determined to be less than a preset coefficient value, the corresponding surgical wound is used as a debridement wound, the wound contour of the debridement wound is identified as a debridement contour, and a debridement removal area is generated according to the debridement contour) include: A31, when it is determined that the wound coefficient is less than a preset coefficient value, the corresponding surgical wound is used as a debridement wound, and the wound contour of the debridement wound is identified as the debridement contour.
[0131] It can be understood that when the wound coefficient is less than the preset coefficient value, the corresponding surgical incision can be used as a debridement incision, and the wound contour of the debridement incision can be identified to obtain the debridement contour, which is convenient for subsequent determination of the debridement removal area so that the doctor can shave the patient's hair.
[0132] A32, retrieve the debridement contour pixel points corresponding to the debridement contour, and obtain the contour center point of the debridement contour as the debridement midpoint.
[0133] It can be understood that the debridement contour pixel point is the pixel point corresponding to the debridement contour, and the debridement midpoint is the contour center point of the debridement contour.
[0134] A33, connect the debridement midpoint with the debridement contour pixel point to obtain a directional elimination line, and take the direction from the debridement midpoint to the debridement contour pixel point along the directional elimination line as the elimination direction.
[0135] It can be understood that the directional elimination line is the direction guide line for shaving and cleaning the wound, that is, the connecting line between the debridement midpoint and the debridement contour pixel point, and the elimination direction is the direction of shaving and cleaning, that is, the direction from the debridement midpoint to the debridement contour pixel point along the directional elimination line.
[0136] Through the above implementation, the present invention can determine the directional removal line and the removal direction, so as to obtain the debridement removal area subsequently.
[0137] A34, based on the removal direction and the preset debridement distance moving direction, the debridement contour pixel points on the removal line are removed to obtain the removal contour pixel points, and the adjacent removal contour pixel points are connected to obtain the debridement removal area.
[0138] It can be understood that the debridement contour pixel points on the directional removal line are moved by a preset debridement distance according to the removal direction, so that the removal contour pixel points at the corresponding position after the movement can be obtained, and then the adjacent removal contour pixel points are connected to obtain the debridement removal area.
[0139] The preset debridement distance is a preset length distance for cleaning the wound, and the removed contour pixel points are the pixel points after the debridement contour pixel points are moved.
[0140] It is worth mentioning that when the debridement contour pixel points on the directional rejection line are moved, the moved points may be outside the head. For example, when the corresponding pixel points are moved upward by 5 cm, the corresponding position points may be outside the head. In this case, the corresponding position points can be mapped on the head model so that the corresponding rejection contour pixel points can be determined on the patient's corresponding head model, which facilitates the subsequent connection of adjacent rejection pixel points to obtain the debridement rejection area.
[0141] A4, when the wound coefficient is determined to be greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and a suture removal area is generated based on the contour to be sutured and the swelling pixel value.
[0142] It can be understood that when the wound coefficient is greater than or equal to the preset coefficient value, it means that the current patient's wound is more serious and needs to be sutured surgically. Therefore, it is necessary to determine the suture exclusion area of the corresponding wound so that the doctor can suture smoothly.
[0143] Among them, the wound to be sutured is a wound that needs to be sutured, that is, a surgical wound whose wound coefficient is greater than or equal to a preset coefficient value, the contour to be sutured is the wound contour of the wound to be sutured, the swelling pixel value is the pixel value of the wound swelling area, and the suture removal area is the area where suture and hair removal are performed.
[0144] In some embodiments, the specific implementation steps of step A4 (when the wound coefficient is determined to be greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and the suture rejection area is generated based on the contour to be sutured and the swelling pixel value) include: A41, when it is determined that the wound coefficient is greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and the contour pixel points to be sutured of the contour to be sutured and the contour center point are obtained as the midpoint to be sutured.
[0145] It can be understood that when it is determined that the wound coefficient is greater than or equal to the preset coefficient value, the corresponding surgical wound can be used as the wound to be sutured, and the wound contour of the wound to be sutured can be identified as the contour to be sutured. At the same time, the pixel points of the contour to be sutured and the center point of the contour to be sutured are obtained, so that the center point of the contour can be used as the midpoint to be sutured, which is convenient for the subsequent determination of the suture exclusion area corresponding to the wound according to the pixel points of the contour to be sutured and the midpoint to be sutured.
[0146] Among them, the center point of the contour is the center point of the contour to be stitched, and the midpoint to be stitched is the center point of the contour.
[0147] A42, obtaining a directional elimination line and a elimination direction corresponding to the contour to be stitched, and extracting adjacent swelling pixel points around the contour to be stitched based on the swelling pixel value.
[0148] It can be understood that the method for determining the directional elimination line and the elimination direction is consistent with the above-mentioned implementation step A33, and will not be repeated here.
[0149] The swelling pixel points are pixel points corresponding to the swelling pixel values, and when extracting the swelling pixel points adjacent to the stitching contour, the swelling pixel points may be directly adjacent or indirectly adjacent.
[0150] A43, based on the removal direction of the contour to be stitched, the number of swelling pixel points on the removal line in each direction of the contour to be stitched is counted as the swelling offset.
[0151] It can be understood that the swelling offset is the movement amount of the contour pixels to determine the suture removal area according to the swelling of the wound, that is, the number of swollen pixels on the removal line in each direction of the contour to be sutured.
[0152] It is not difficult to understand that the larger the swelling offset is, that is, the more swelling pixels there are on the removal line in the corresponding direction of the contour to be sutured in the removal direction, the more severe the swelling of the wound in the corresponding direction is. Therefore, in order to facilitate diagnosis and treatment, the area where hair needs to be removed later will also be larger.
[0153] A44, determining a preset quantity interval of the swelling offset in a preset quantity comparison table as an offset quantity interval, and retrieving a preset offset distance as the swelling offset distance based on the offset quantity interval, wherein the preset quantity comparison table includes a one-to-one correspondence between the preset quantity interval and the preset offset distance.
[0154] It should be noted that after the swelling offset is determined, the preset number interval in which the swelling offset is located can be determined in the preset number comparison table as the offset number interval, and then the corresponding swelling offset distance can be determined according to the offset number interval, so as to facilitate the subsequent determination of the suture removal area according to the swelling offset distance.
[0155] It can be understood that the preset quantity comparison table is a pre-set form with preset quantity intervals and preset offset distances, which can be preset manually. The offset quantity interval is the preset quantity interval corresponding to the swelling offset, that is, the preset quantity interval of the swelling offset in the preset quantity comparison table, and the preset offset distance is the moving distance pre-set according to the preset quantity interval, that is, it is one-to-one corresponding to the preset quantity interval, and the swelling offset distance is the preset offset distance corresponding to the offset quantity interval.
[0156] A45, based on the removal direction of the contour to be stitched, select the swelling pixel point or the pixel point of the contour to be stitched that is farthest from the midpoint of the contour to be stitched on the removal lines in each direction of the contour to be stitched as the offset pixel point.
[0157] It can be understood that the offset pixel point is the swelling pixel point or the contour pixel point to be stitched that is farthest from the midpoint to be stitched on the direction elimination line.
[0158] A46, obtaining a stitching offset distance corresponding to each offset pixel point according to the sum of the preset stitching distance and the swelling offset distance.
[0159] It can be understood that the suture offset distance is the sum of the preset suture distance and the swelling offset distance.
[0160] A47, based on the removal direction and the stitching offset distance of the contour to be stitched, the offset pixel points on the removal direction removal line are moved to obtain the removal contour pixel points, and the adjacent removal contour pixel points are connected to obtain the stitching removal area.
[0161] It can be understood that the offset pixel points on the directional elimination line are moved by the stitching offset distance according to the elimination direction, so that the elimination contour pixel points at the corresponding position after the movement can be obtained, and then the adjacent elimination contour pixel points are connected to obtain the stitching elimination area.
[0162] The suture offset distance is a preset length of the wound to be cleaned, and the removed contour pixels are pixels after the debridement contour pixels are moved.
[0163] A5, sends the debridement removal area and suture removal area to the surgical end.
[0164] It is understandable that the determined debridement removal area and suture removal area are sent to the surgical end so that the surgeon performing the surgery can remove the hair in the corresponding area.
[0165] See also Figure 3 , is a schematic diagram of a structure of an information-based neurosurgery clinical case data management platform provided by an embodiment of the present invention, the information-based neurosurgery clinical case data management platform includes: The splitting module is used to build a head model of the target patient, obtain the wound information of the surgical wound corresponding to the head model, and automatically split the surgical wound according to the wound information to obtain sub-split wounds.
[0166] The determination module is used to determine the acquisition position corresponding to the surgical wound according to the positioning area of the sub-split wound, and receive the wound image acquired by the acquisition device based on the acquisition position.
[0167] The stitching module is used to stitch the wound images at the acquisition position when determining that there are multiple wound images to obtain a wound recognition image, and to adjust the positioning area based on abnormal pixel points in the transition area of the wound recognition image to obtain the current adjustment area.
[0168] The generation module is used to generate feedback information based on the comparison information between the current adjustment area and the theoretical positioning area, upload the feedback information and the wound recognition image to the case library, and obtain the clinical case data corresponding to the target patient and send it to the physician end.
[0169] See also Figure 4 , is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention, the electronic device 40 includes: a processor 41, a memory 42 and a computer program; wherein The memory 42 is used to store computer programs, and the memory may also be a flash memory. The computer program is, for example, an application program or a functional module for implementing the above method.
[0170] The processor 41 is used to execute the computer program stored in the memory to implement each step performed by the device in the above method. For details, please refer to the relevant description in the above method embodiment.
[0171] Optionally, the memory 42 may be independent or integrated with the processor 41 .
[0172] When the memory 42 is a device independent of the processor 41, the device may further include: The bus 43 is used to connect the memory 42 and the processor 41 .
[0173] The present invention also provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided in the above-mentioned various embodiments.
[0174] Among them, the readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application-specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the readable storage medium can also exist in a communication device as discrete components. The readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0175] The present invention also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of a device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the above various embodiments.
[0176] In the embodiments of the above-mentioned devices, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0177] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for managing clinical case data of neurosurgery based on informatization, characterized in that: include: Construct a head model of the target patient, obtain wound information of the surgical wound corresponding to the head model, and automatically split the surgical wound according to the wound information to obtain sub-split wounds; Determine a capture position corresponding to the surgical wound according to the positioning area of the sub-split wound, and receive a wound image captured by a capture device based on the capture position; When it is determined that there are multiple wound images, the wound images at the acquisition positions are spliced to obtain a wound recognition image, and the positioning area is adjusted based on abnormal pixel points in the transition area of the wound recognition image to obtain a current adjustment area; Based on the comparison information between the current adjustment area and the theoretical positioning area, feedback information is generated, and the feedback information and wound recognition image are uploaded to the case library, and the clinical case data corresponding to the target patient is obtained and sent to the physician end.
2. The method according to claim 1, characterized in that The step of constructing a head model of the target patient, obtaining wound information of a surgical wound corresponding to the head model, and automatically splitting the surgical wound according to the wound information to obtain sub-split wounds includes: Construct a head model corresponding to the target patient, obtain wound information of the surgical wound corresponding to the head model, and retrieve the wound position of the surgical wound in the wound information; Obtaining the model center point of the head model, and performing coordinate processing on the head model based on the model center point; When it is determined that there are multiple wound positions, the surgical wound corresponding to each wound position is obtained as the position wound, and the wound length of the position wound is obtained as the position length; When it is determined that the azimuth length is greater than the preset acquisition length, the corresponding azimuth wound is used as the wound to be split, and the wound to be split is divided and processed in sequence based on the preset acquisition length to obtain the remaining azimuth length of the wound to be split, until the remaining azimuth length is less than or equal to the preset acquisition length, and a plurality of sub-split wounds corresponding to the wound to be split are obtained; When it is determined that the azimuth length is less than or equal to the preset acquisition length, the corresponding azimuth wound is used as a sub-split wound; The coordinates of the wound pixel points corresponding to the sub-split wounds are obtained as the sub-split coordinates, and the positioning area and transition area corresponding to each sub-split wound are determined according to the sub-split coordinates.
3. The method according to claim 2, characterized in that The step of obtaining the coordinates of the wound pixel points corresponding to the sub-split wounds as the sub-split coordinates, and determining the positioning area and transition area corresponding to each sub-split wound according to the sub-split coordinates, comprises: Obtaining the coordinates of the wound pixel points corresponding to the sub-split wound as the sub-split coordinates, and counting the sub-split coordinates to obtain a sub-split coordinate set corresponding to the sub-split wound, and determining the sub-center point coordinates according to the sub-split coordinate set; The distance is calculated based on the positioning coordinates and the sub-center point coordinates to obtain the construction radius, and the sub-positioning sphere is generated based on the construction radius with the pixel point of the sub-center point coordinates as the center of the circle; The intersection plane of the sub-positioning sphere and the head model is obtained as the sub-positioning plane, and the corresponding area of the sub-positioning plane is used as the positioning area of the sub-split wound; The positioning area is magnified based on a preset multiple to obtain an enlarged area corresponding to the sub-split wound, and the transition area is obtained according to the difference between the enlarged area and the positioning area.
4. The method according to claim 1, characterized in that: The method of determining a collection position corresponding to the surgical wound according to the positioning area of the sub-split wound and receiving the wound image collected by the collection device based on the collection position includes: Constructing a collection model corresponding to the collection device, configuring a corresponding collection area for the collection model, and obtaining a center point of the collection area as a collection midpoint; The center point of the positioning area of the sub-split wound is obtained as the split midpoint, and the acquisition model is moved until the acquisition midpoint is aligned with the split midpoint to obtain the acquisition position corresponding to the sub-split wound; A positioning area and a transition area corresponding to each sub-split wound are configured for the acquisition area corresponding to the acquisition device, and a wound image acquired by the acquisition device based on the acquisition position is received.
5. The method according to claim 4, characterized in that The adjusting of the positioning area based on abnormal pixel points in the transition area of the wound recognition image to obtain the current adjustment area includes: Identify abnormal pixel points in the transition area of the wound recognition image based on abnormal pixel values, and obtain regional contour pixel points corresponding to the positioning area as split contour pixel points; Determine that the transition area has abnormal pixels, obtain the center point of the positioning area in the wound recognition image as the adjustment center point, obtain the adjustment orientation line according to the connection line between the adjustment center point and each split contour pixel point, and along the adjustment orientation line, the direction from the adjustment center point to the split contour pixel point is used as the adjustment direction; Taking the adjustment center point as the starting point, the number of abnormal pixel points on each adjustment orientation line is counted based on the adjustment direction to obtain the number of abnormalities corresponding to each adjustment orientation line; The adjusted orientation lines with anomaly numbers greater than 0 are taken as adjusted point lines, and the remaining adjusted orientation lines are taken as unadjusted point lines, and the intersection points of the adjusted point lines and the split contour pixel points are obtained as split offset points; The corresponding split offset point is moved based on the number of anomalies and the adjustment direction to obtain the split adjustment point, and the intersection of the unadjusted point line and the split contour pixel point is used as the split adjustment point; Connect adjacent split adjustment points to obtain the current adjustment area.
6. The method according to claim 1, characterized in that The method generates feedback information based on the comparison information between the current adjustment area and the theoretical positioning area, uploads the feedback information and the wound recognition image to the case database, and obtains clinical case data corresponding to the target patient and sends it to the physician end, including: Retrieve the theoretical positioning area corresponding to the current moment, obtain the number of pixels in the theoretical positioning area as the theoretical number, and obtain the number of pixels in the current adjustment area as the actual number; When it is determined that the actual quantity is greater than the theoretical quantity, deterioration feedback information is generated; When it is determined that the actual quantity is less than or equal to the theoretical quantity, improvement feedback information is generated; Feedback information is obtained based on the deterioration feedback information and the improvement feedback information, and the feedback information and the wound identification image are uploaded to the case library, and the clinical case data corresponding to the target patient is obtained and sent to the physician end.
7. The method according to claim 1, characterized in that Before the step of automatically splitting the surgical wound according to the wound information to obtain sub-split wounds, the method further includes: Obtaining a model center point of the head model, performing coordinate processing on the head model based on the model center point, and obtaining wound information of a surgical wound corresponding to the head model, the wound information including wound length and wound depth; The wound length and wound depth are weighted and calculated respectively to obtain the wound coefficient corresponding to the surgical wound; When it is determined that the wound coefficient is less than the preset coefficient value, the corresponding surgical wound is used as a debridement wound, the wound contour of the debridement wound is identified as a debridement contour, and a debridement rejection area is generated according to the debridement contour; When it is determined that the wound coefficient is greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and a suture rejection area is generated based on the contour to be sutured and the swelling pixel value; Send the debridement rejection area and suture rejection area to the surgical end.
8. The method according to claim 7, characterized in that When the wound coefficient is determined to be less than the preset coefficient value, the corresponding surgical wound is used as a debridement wound, the wound contour of the debridement wound is identified as a debridement contour, and a debridement rejection area is generated according to the debridement contour, including: When it is determined that the wound coefficient is less than the preset coefficient value, the corresponding surgical wound is used as a debridement wound, and the wound contour of the debridement wound is identified as a debridement contour; Retrieving the debridement contour pixel points corresponding to the debridement contour, and obtaining the contour center point of the debridement contour as the debridement midpoint; The debridement midpoint is connected with the debridement contour pixel point to obtain a directional elimination line, and the direction from the debridement midpoint to the debridement contour pixel point along the directional elimination line is used as the elimination direction; Based on the removal direction and the preset removal distance moving direction, the debridement contour pixel points on the removal line are removed to obtain the removal contour pixel points, and the adjacent removal contour pixel points are connected to obtain the debridement removal area.
9. The method according to claim 7, characterized in that: When the wound coefficient is determined to be greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and a suture rejection area is generated based on the contour to be sutured and the swelling pixel value, including: When it is determined that the wound coefficient is greater than or equal to the preset coefficient value, the corresponding surgical wound is used as the wound to be sutured, the wound contour of the wound to be sutured is identified as the contour to be sutured, and the contour pixel points to be sutured of the contour to be sutured and the contour center point are obtained as the midpoint to be sutured; Obtain the direction elimination line and elimination direction corresponding to the contour to be stitched, and extract the adjacent swelling pixel points around the contour to be stitched based on the swelling pixel value; Based on the removal direction of the contour to be stitched, the number of swelling pixel points on the removal line in each direction of the contour to be stitched is counted as a swelling offset; Determine a preset number interval of the swelling offset in a preset number comparison table as an offset number interval, and retrieve a preset offset distance based on the offset number interval as the swelling offset distance, wherein the preset number comparison table includes a one-to-one correspondence between the preset number interval and the preset offset distance; Based on the removal direction of the contour to be stitched, the swelling pixel point or the pixel point of the contour to be stitched that is farthest from the midpoint of the contour to be stitched on the removal lines in each direction of the contour to be stitched is selected as the offset pixel point; According to the sum of the preset stitching distance and the swelling offset distance, the stitching offset distance corresponding to each offset pixel point is obtained; Based on the removal direction and the stitching offset distance of the contour to be stitched, the offset pixels on the removal line are moved to obtain the removal contour pixels, and the adjacent removal contour pixels are connected to obtain the stitching removal area.
10. A neurosurgery clinical case data management platform based on informatization, characterized in that: include: The splitting module is used to construct a head model of the target patient, obtain the wound information of the surgical wound corresponding to the head model, and automatically split the surgical wound according to the wound information to obtain sub-split wounds; A determination module, used to determine a collection position corresponding to the surgical wound according to the positioning area of the sub-split wound, and receive a wound image collected by the collection device based on the collection position; A stitching module is used to stitch the wound images at the acquisition position when it is determined that there are multiple wound images, obtain a wound recognition image, and adjust the positioning area based on abnormal pixel points in the transition area of the wound recognition image to obtain a current adjustment area; The generation module is used to generate feedback information based on the comparison information between the current adjustment area and the theoretical positioning area, upload the feedback information and the wound recognition image to the case library, and obtain the clinical case data corresponding to the target patient and send it to the physician end.
Citation Information
Patent Citations
Intelligent wound measurement method and mobile measurement terminal
CN108814613A
Wound information analysis platform
CN117558396A
Breast cancer prognosis data processing method and system based on multi-dimensional information
CN118039087A
Neurosurgery wound adjuvant therapy method and system based on neural network learning
CN118039191A
Wound surface intelligent measurement method and system
CN118314098A