Disclosure of Invention
The embodiment of the invention provides a neurosurgery wound auxiliary treatment method and a neurosurgery wound auxiliary treatment system based on neural network learning, which can customize an auxiliary treatment strategy according to the wound condition of a patient and assist a doctor to carry out treatment diagnosis on the patient.
In a first aspect of an embodiment of the present invention, there is provided a neural network learning-based neurosurgical wound adjuvant therapy method, including:
the method comprises the steps that custom-made elements configured for a patient end by a doctor end are arranged according to auxiliary treatment requirements of the doctor end to obtain a custom-made indication structure, wherein the custom-made elements comprise wound elements and treatment elements;
Receiving wound configuration information of the auxiliary virtual model by the doctor end, and generating a wound virtual layer corresponding to the wound element according to the wound configuration information;
a treatment layer generating strategy is called, a treatment virtual layer corresponding to the treatment element is generated according to the customized indication structure, and the auxiliary virtual model is updated according to the wound virtual layer and the treatment virtual layer to obtain a treatment indication model and sent to the patient end;
and acquiring treatment record data of the patient side to the treatment indication model based on the record viewing requirement of the doctor side, and sending the treatment record data to the doctor side.
Optionally, in a possible implementation manner of the first aspect, the custom elements configured by the doctor side for the patient side are arranged according to the auxiliary treatment requirement of the doctor side to obtain a custom indication structure, where the custom elements include wound elements and treatment elements, and include:
receiving an auxiliary treatment requirement of the doctor side, and acquiring customized elements configured by the doctor side for the patient side;
Acquiring a customized serial number configured by the doctor side for each customized element, and arranging each customized element according to the customized serial number from small to large to obtain a customized element sequence;
Generating custom nodes corresponding to the custom elements, sequentially arranging the custom nodes corresponding to the custom elements according to the custom arrangement direction and the custom element sequence, and then connecting the custom nodes to obtain a custom indication structure.
Optionally, in one possible implementation manner of the first aspect, receiving wound configuration information of the auxiliary virtual model by the doctor end, generating a wound virtual layer corresponding to the wound element according to the wound configuration information, including:
Receiving a wound configuration request of the doctor side, calling the auxiliary virtual model and sending the auxiliary virtual model to the doctor side;
A transparent layer corresponding to the auxiliary virtual model is called to be overlapped above the auxiliary virtual model, and a wound line defined by the doctor side for the auxiliary virtual model based on the transparent layer is obtained;
obtaining a wound configuration requirement of the doctor end, and performing suture treatment on the wound wire according to the wound configuration requirement to obtain a suture corresponding to the wound wire, wherein the suture comprises a linear suture or a waveform suture, and wound configuration information is generated according to the wound wire and the suture;
determining a plurality of first connecting points corresponding to two sides of the suture line, connecting the first connecting points positioned on the same side to obtain a first connecting line, and performing extension treatment on the first connecting line;
Acquiring end points at two ends of the wound wire as second connection points, generating second connection wires perpendicular to the tangential direction of the second connection points, and generating wound surfaces corresponding to the wound configuration information according to the first connection wires and the second connection wires;
and adjusting the thickness of the wound surface according to the element thickness corresponding to the wound element to obtain a wound virtual layer corresponding to the wound element.
Optionally, in one possible implementation manner of the first aspect, the obtaining a wound configuration requirement of the doctor side, performing suture processing on the wound line according to the wound configuration requirement to obtain a suture line corresponding to the wound line, where the suture line includes a linear suture line or a waveform suture line, and generating wound configuration information according to the wound line and the suture line includes:
Acquiring a wound configuration requirement of the doctor side, wherein the wound configuration requirement comprises a linear configuration requirement or a waveform configuration requirement;
Acquiring end points at two ends of the wound line as a stitching starting point and a stitching end point based on the linear configuration requirement;
determining the direction from the stitching starting point to the stitching ending point as a traversing direction, and sequentially traversing the number of pixel points on the wound line according to the traversing direction by taking the stitching starting point as the traversing starting point;
obtaining pixel points traversed when the number of the pixel points is equal to the number of the preset pixel points as target pixel points, positioning the center point of a preset linear suture line based on the target pixel points, and placing the preset linear suture line in a direction perpendicular to the tangential direction of the target pixel points to obtain sub-suture lines;
Continuing to determine the next pixel point adjacent to the target pixel point in the traversing direction as a traversing starting point, and repeating the step of generating the sub-suture line until the wound line is traversed;
Generating a linear suture corresponding to the wound wire according to the sub-suture; or alternatively, the first and second heat exchangers may be,
Acquiring waveform parameters configured by the doctor side based on the waveform configuration requirements, wherein the waveform parameters comprise wavelength and amplitude;
And acquiring end points at two ends of the wound line as a stitching starting point and a stitching end point, taking the stitching starting point as a waveform generation starting point and the stitching end point as a waveform generation end point, and generating a waveform stitching line positioned on the wound line according to the waveform parameters.
Optionally, in one possible implementation manner of the first aspect, invoking a treatment layer generating policy to generate a treatment virtual layer corresponding to the treatment element according to the custom indication structure, updating the auxiliary virtual model according to the wound virtual layer and the treatment virtual layer to obtain a treatment indication model, and sending the treatment indication model to the patient end, including:
Acquiring element attributes of the treatment elements, wherein the element attributes comprise internal attributes and external attributes, determining the treatment elements of the internal attributes as internal treatment elements and determining the treatment elements of the external attributes as external treatment elements;
Sequentially generating internal virtual layers corresponding to the internal treatment elements according to the arrangement sequence of the internal treatment elements in the customized indication structure, and stacking the wound virtual layers and the internal virtual layers based on the customized indication structure to obtain stacked virtual layers;
Determining a pixel point on the outer surface of the auxiliary virtual model, which corresponds to each first pixel point in the upper surface of the stacked virtual layer vertically, as a second pixel point, and obtaining a phase difference distance between the corresponding first pixel point and the second pixel point;
acquiring a first pixel point corresponding to the largest phase difference distance as a first positioning point and the second pixel point as a target pixel point;
An external virtual layer corresponding to the external treatment element is called, the external virtual layer corresponds to the outer surface of the auxiliary virtual model, and a pixel point corresponding to the target pixel point in the external virtual layer is determined to be a second positioning point;
Positioning the second positioning point based on the first positioning point, adding the external virtual layer above the stacked virtual layer, updating the auxiliary virtual model to obtain a treatment indication model, and sending the treatment indication model to the patient end;
Wherein the treatment virtual layer comprises an inner virtual layer and an outer virtual layer.
Optionally, in one possible implementation manner of the first aspect, generating, in order according to an arrangement order of the internal therapeutic elements in the custom indication structure, internal virtual layers corresponding to the internal therapeutic elements, and stacking the wound virtual layers and the internal virtual layers based on the custom indication structure to obtain a stacked virtual layer, including:
acquiring an internal treatment element adjacent to the wound element and positioned behind the wound element as a target element according to the customized indication structure;
Wherein the wound elements are arranged at a beginning position, the internal treatment elements are arranged at an intermediate position, and the external treatment elements are arranged at an end position in the custom indication structure;
Determining an outer contour corresponding to a wound surface of the wound element as a reference contour, and taking each contour point corresponding to the reference contour as a reference point, and expanding each contour point outwards by a preset expansion distance to obtain an expansion point corresponding to each contour point;
Generating an expansion contour according to each expansion point, and determining a surface corresponding to the expansion contour as a virtual surface corresponding to the target element;
adjusting the thickness of the virtual surface according to the element thickness corresponding to the target element to obtain an internal virtual layer corresponding to the target element;
Positioning the inner virtual layer according to a center point of the wound virtual layer, stacking the inner virtual layer over the wound virtual layer;
acquiring an internal treatment element adjacent to and behind the target element as a next target element based on the customized indication structure;
Determining the outer contour corresponding to the virtual surface of the target element as the next reference contour, repeating the step of generating the internal virtual layer to continuously generate the internal virtual layer corresponding to the next target element;
Stacking an internal virtual layer corresponding to the next target element above the internal virtual layer corresponding to the target element, and stopping the steps until the stacking process of the internal virtual layer of the last internal treatment element is completed;
and obtaining a stacked virtual layer according to the wound virtual layer and the inner virtual layer which are stacked.
Optionally, in a possible implementation manner of the first aspect, before the acquiring, based on the record viewing requirement of the physician side, treatment record data of the patient side on the treatment indication model is sent to the physician side, the method further includes:
receiving a treatment record request of the patient end, and performing moving treatment on each treatment virtual layer according to the separation direction and the separation distance to obtain a display virtual layer;
Acquiring element labels corresponding to the customized elements, updating the element labels to label display areas corresponding to the corresponding wound virtual layers or treatment virtual layers in the display virtual layers, updating the treatment indication model according to the display virtual layers to obtain a model to be recorded, and sending the model to the patient end;
receiving a wound virtual layer or a treatment virtual layer selected by the patient side as a recording layer, and acquiring recording data uploaded by the patient side to the recording layer;
Determining the recording time of the recorded data, and obtaining treatment recorded data according to the recording time and the recorded data;
And updating the model to be recorded according to the treatment record data to obtain a treatment record model.
Optionally, in a possible implementation manner of the first aspect, acquiring treatment record data of the patient side for the treatment indication model based on the record viewing requirement of the physician side is sent to the physician side, including:
Acquiring record viewing requirements of the doctor side, wherein the record viewing requirements comprise wound viewing requirements and treatment viewing requirements;
Acquiring the recorded data corresponding to the wound virtual layer as first recorded data according to the wound viewing requirement, and arranging the first recorded data according to the recording time corresponding to the first recorded data to obtain a first recording sequence;
Arranging recorded image frames corresponding to the first recorded data according to the first recording sequence to obtain wound checking data;
Acquiring record data corresponding to the treatment virtual layer as second record data according to the treatment viewing requirements, and generating treatment viewing data based on the record time corresponding to each second record data;
Record viewing data is generated based on the wound viewing data and/or treatment viewing data and sent to the physician side.
Optionally, in one possible implementation manner of the first aspect, acquiring the record data corresponding to the treatment virtual layer according to the treatment viewing requirement as second record data, and generating treatment viewing data based on a record time corresponding to each second record data includes:
obtaining a recording date corresponding to each second recording data according to the recording time corresponding to each second recording data;
acquiring second record data with the same record date as the same record set, calling a preset time frame, and updating a time filling area in the preset time frame according to the record date to obtain a time display frame corresponding to the record set;
Arranging the second record data according to the custom serial numbers of custom elements corresponding to the second record data in the record sets to obtain second record sequences corresponding to the record sets;
Arranging the recorded image frames corresponding to the second recorded data according to the second recording sequence, and arranging the corresponding time display frames to the first frames to obtain sub-viewing data corresponding to the recording sets;
and arranging all the sub-check data according to the recording date to obtain treatment check data.
In a second aspect of embodiments of the present invention, there is provided a neurosurgical wound adjuvant therapy system based on neural network learning, comprising:
the arrangement module is used for arranging customized elements configured for a patient end by a doctor end according to the auxiliary treatment requirement of the doctor end to obtain a customized indication structure, wherein the customized elements comprise wound elements and treatment elements;
the customization module is used for receiving wound configuration information of the auxiliary virtual model from the doctor end and generating a wound virtual layer corresponding to the wound element according to the wound configuration information;
the summarizing module is used for retrieving a treatment layer generation strategy, generating a treatment virtual layer corresponding to the treatment element according to the customized indication structure, updating the auxiliary virtual model according to the wound virtual layer and the treatment virtual layer to obtain a treatment indication model, and sending the treatment indication model to the patient end;
And the display module is used for acquiring treatment record data of the patient side to the treatment indication model based on the record viewing requirement of the doctor side and sending the treatment record data to the doctor side.
The beneficial effects of the invention are as follows:
1. The invention can customize the auxiliary treatment strategy according to the wound condition of the patient, and assist doctors to carry out treatment diagnosis on the patient. The invention can arrange the customized elements according to the auxiliary treatment requirement of the doctor end to obtain the customized indication structure, wherein the customized elements comprise wound elements and treatment elements, and the corresponding virtual layers can be automatically generated subsequently by constructing the customized indication structure, so that the data processing efficiency can be improved, and the follow-up patient end can upload the recorded data sequentially according to the sequence of the virtual layers. According to the scheme, the wound virtual layer corresponding to the wound element can be generated according to the wound configuration information, and the patient side can upload corresponding record data to the virtual layer. According to the method, the treatment virtual layers corresponding to the treatment elements can be generated according to the sequence of the customized indication structure, and the treatment indication model can be obtained by combining the wound virtual layers. According to the scheme, corresponding treatment record data can be displayed to the doctor terminal according to record viewing requirements, so that the doctor terminal can correspondingly view actual treatment conditions of the patient terminal and assist the doctor terminal in treatment.
2. According to the method, the custom elements can be arranged according to the sequence of the custom sequence numbers to obtain the custom element sequence, and then the nodes corresponding to the custom elements are arranged and connected according to the sequence of the sequence to obtain the custom indication structure. According to the scheme, corresponding suture lines can be obtained according to wound lines defined on the auxiliary virtual model, wherein the suture lines comprise linear suture lines or waveform suture lines, the traversing direction corresponding to suture processing can be firstly determined according to linear configuration requirements for the linear suture lines, the linear suture lines are positioned and placed according to target pixel points, and then the linear suture lines corresponding to the wound lines can be generated.
3. According to the method, the outline corresponding to the wound surface can be firstly determined as the reference outline, the outline points are expanded to obtain the corresponding expanded points and the expanded outline, the corresponding virtual surface can be further determined, the internal virtual layer can be obtained by combining the corresponding thickness, so that the internal virtual layer can completely cover the wound virtual layer, the internal virtual layer can be overlapped on the wound virtual layer to obtain the stacked virtual layer, the external virtual layer is overlapped on the stacked virtual layer to obtain the treatment indication model, and by the mode, the follow-up patient end can upload corresponding recorded data according to own needs and assist the doctor end in treatment. According to the method, the first recorded data can be arranged according to the recording time according to the wound checking requirement to obtain a first recorded sequence, then the recorded image frames corresponding to the first recorded data are arranged according to the sequence order to obtain wound checking data, the second recorded data are arranged according to the recording time according to the treatment checking requirement to obtain treatment checking data, and further the recording checking data can be obtained.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of a neural network learning-based neurosurgical wound auxiliary treatment method according to an embodiment of the present application is shown, and an execution subject of the method shown in fig. 1 may be a software and/or hardware device. The execution body of the present application may include, but is not limited to, at least one of: user equipment, network equipment, etc. The user device may include, but is not limited to, a computer, a smart phone, a Personal Digital Assistant (PDA) DIGITAL ASSISTANT, and the above-mentioned electronic device. The network device may include, but is not limited to, a single network server, a server group of multiple network servers, or a cloud of a large number of computers or network servers based on cloud computing, where cloud computing is one of distributed computing, and a super virtual computer consisting of a group of loosely coupled computers. This embodiment is not limited thereto. The method comprises the steps S1 to S4, and specifically comprises the following steps:
S1, arranging custom elements configured for a patient end by a doctor end according to auxiliary treatment requirements of the doctor end to obtain a custom indication structure, wherein the custom elements comprise wound elements and treatment elements.
In practical application, after neurosurgery head operation, when meeting certain conditions, the patient can be self-treated such as dressing change, binding, etc. to the wound, can obtain corresponding model through customizing the indication structure, and the patient end can carry out corresponding data uploading in the model to doctor's end can in time look over the self-treatment condition of patient's end, and can assist doctor's end to carry out treatment and customization auxiliary treatment strategy.
The doctor end refers to a terminal corresponding to the doctor, the auxiliary treatment requirement refers to the requirement that the doctor end proposes auxiliary treatment, the patient end refers to a terminal corresponding to the patient, the customized element refers to an element customized by the doctor end according to the wound condition of the patient end, wherein the customized element comprises a wound element and a treatment element, the wound element refers to wound information configured by the doctor end for the patient end, the treatment element refers to treatment information configured by the doctor end for the patient end, and the customized indication structure is a structure formed by arranging customized nodes corresponding to the designated customized element.
It can be understood that, because the corresponding wound conditions of different patient ends are different, and thus the subsequent treatment conditions are also different, the doctor end needs to perform personalized customization according to the actual wound conditions and treatment conditions of the patient ends, and the generated customization indication structures are also different due to different arrangement sequences of customization elements corresponding to different patient ends.
For example: since the location of the wound on the patient side may be different, the physician side may tailor the wound element accordingly to the specific location of the wound on the patient side.
Specifically, step S1 includes steps S11 to S13, and is specifically as follows:
S11, receiving the auxiliary treatment requirement of the doctor side, and acquiring customized elements configured for the patient side by the doctor side.
It will be appreciated that upon receiving a physician's end's need, a corresponding custom element may be obtained at the patient's end, the custom element being configured for the patient's end by the physician's end, and the custom element comprising a wound element and a treatment element.
In some embodiments, the wound element may be a neurosurgical head surgical wound and the corresponding treatment element may be a drug, gauze, head stretch cap, or the like.
S12, acquiring the customized serial numbers configured for the customized elements by the doctor side, and arranging the customized elements from small to large according to the customized serial numbers to obtain a customized element sequence.
The custom sequence number is a sequence corresponding to the appointed custom element, the custom element sequence is a sequence formed by arranging the appointed custom elements, a plurality of custom elements possibly exist in the treatment process, and the sequence of the custom elements in treatment is determined, so that a doctor end needs to configure sequence numbers for the custom elements according to the sequence, and arrange the custom elements from small to large according to the sequence numbers.
For example: when the wound of a patient is treated according to a certain sequence, firstly, the wound is disinfected, then the wound is changed in medicine, then the wound is wrapped by using gauze, finally, a medical elastic cap is worn, the customized serial number corresponding to the wound can be obtained, the customized serial number corresponding to the disinfection is 2, the customized serial number corresponding to the medicine changing is 3, the customized serial number corresponding to the gauze wrapping is 4, the customized serial number corresponding to the medical elastic cap is worn, and the customized element sequences can be obtained by arranging a plurality of customized elements according to the sequence from small to large of the customized serial numbers.
By the method, the custom elements can be arranged according to the requirements of a doctor, and the corresponding virtual layers can be automatically generated according to the order of the custom instruction structure, so that the data processing efficiency is improved.
S13, generating custom nodes corresponding to the custom elements, sequentially arranging the custom nodes corresponding to the custom elements according to the custom arrangement direction and the custom element sequence, and then connecting the custom nodes to obtain a custom indication structure.
It can be understood that the custom nodes are nodes corresponding to the designated custom elements, the custom arrangement direction is the arrangement direction of the designated custom elements, and the custom arrangement direction can be the direction from top to bottom or the direction from left to right, and the custom indication structure can be obtained by arranging the custom nodes according to the custom arrangement direction and the custom element sequence.
By constructing the custom indication structure, the corresponding virtual layer can be automatically generated according to the custom indication structure, the data processing efficiency is improved, and the data can be uploaded sequentially by the follow-up patient side according to the sequence of the virtual layer.
S2, receiving wound configuration information of the auxiliary virtual model by the doctor end, and generating a wound virtual layer corresponding to the wound element according to the wound configuration information.
In practical applications, the patient end may need to be left in the hospital for observation for a period of time after the operation is finished, and then the patient end may be automatically changed, but the specific treatment mode of the wound may not be clear, so that the patient end may be indicated through the model.
The auxiliary virtual model refers to a virtual model for assisting a doctor end in treatment, and can be a head model, the wound configuration information refers to information configured by the doctor end according to actual wound conditions of a patient end, and the wound virtual layer refers to a virtual layer corresponding to a wound.
Specifically, step S2 includes steps S21 to S26, and is specifically as follows:
S21, receiving a wound configuration request of the doctor side, calling the auxiliary virtual model and sending the auxiliary virtual model to the doctor side.
It will be appreciated that the wound configuration request refers to a request for configuring wound information on the doctor side, and after receiving the wound configuration request from the doctor side, the auxiliary virtual model may be invoked and sent to the doctor side.
For example: in neurosurgical head surgery, the patient's end is the head in the position corresponding to the wound, and after receiving a request from the physician's end to configure wound information, the head model may be called and sent to the physician.
S22, a transparent layer corresponding to the auxiliary virtual model is called to be overlapped above the auxiliary virtual model, and a wound line defined by the doctor side on the basis of the transparent layer on the auxiliary virtual model is obtained.
The transparent layer is a layer corresponding to the auxiliary virtual model, the wound line is a line segment corresponding to the wound, and the doctor side can delimit the wound line on the auxiliary virtual model according to the transparent layer.
S23, acquiring a wound configuration requirement of the doctor end, and performing suture treatment on the wound wire according to the wound configuration requirement to obtain a suture corresponding to the wound wire, wherein the suture comprises a linear suture or a waveform suture, and wound configuration information is generated according to the wound wire and the suture.
It can be understood that the wound configuration requirement refers to a requirement that a doctor end selects a suture type corresponding to a wound, and a suture corresponding to a wound line can be obtained according to the wound configuration requirement, wherein the suture comprises a linear suture and a waveform suture, and the doctor end can select one of the suture types according to own requirement, so that corresponding wound configuration information can be obtained.
It should be noted that, since the linear suture line and the waveform suture line are two most common suture line shape types, the two most common suture line shape types are selected for description in the scheme, and the other suture line shape types are not described any more, so that the suture line shape type can be more fit with the actual wound condition.
By the method, the wound data configured by the doctor end can be more attached to the actual wound of the patient end.
The specific implementation manner of step S23 based on the above embodiment may be:
S231, acquiring a wound configuration requirement of the doctor side, wherein the wound configuration requirement comprises a linear configuration requirement or a waveform configuration requirement.
The wound configuration requirement comprises a linear configuration requirement and a waveform configuration requirement, specifically, the linear configuration requirement refers to a selection requirement of a doctor end on a linear suture line, and the waveform configuration requirement refers to a selection requirement of a patient end on a waveform suture line.
S232, acquiring end points at two ends of the wound wire as a stitching starting point and a stitching end point based on the linear configuration requirement.
It will be understood that the stitching start point refers to the start point of the stitching process, the stitching end point refers to the end point of the stitching process, the end points of the two ends of the wound line may be determined first, and the traversing direction may be determined subsequently according to the end points.
S233, determining the direction from the stitching starting point to the stitching ending point as a traversing direction, taking the stitching starting point as a traversing starting point, and sequentially traversing the number of pixels on the wound line according to the traversing direction.
In practical application, the traversing direction refers to a direction of generating the suture line, after the traversing direction is determined, in the neurosurgery head operation, since the wound may need to be sutured for multiple times, a plurality of linear suture lines may exist, so that the number of pixel points on the wound line may be sequentially traversed according to the traversing direction, and thus the suture lines may be positioned subsequently, so that the intervals between the suture lines may be the same.
S234, obtaining the pixel points traversed when the number of the pixel points is equal to the number of the preset pixel points as target pixel points, positioning the center point of the preset linear suture line based on the target pixel points, and placing the preset linear suture line in the direction perpendicular to the tangential direction of the target pixel points to obtain sub-suture lines.
The preset pixel points are the number of the preset pixel points of the worker in advance, the preset pixel points can correspond to the intervals among the sub-suture lines, the target pixel points are the pixel points for positioning the linear suture lines, the preset linear suture lines are the linear suture lines preset by the worker in advance, and the length, the size and the shape of the preset linear suture lines are all preset in advance.
It will be appreciated that, when the number of pixels on the wound line is equal to the number of preset pixels, the last pixel traversed may be determined as the target pixel when traversing is performed from the starting point of stitching, and since the shape of the wound line may be irregular, the tangential direction at the target pixel may be determined, and the direction perpendicular to the tangential direction is the placement direction of the preset linear stitching line, and then the center point of the preset linear stitching line is determined, through which the preset linear stitching line is positioned at the target pixel.
And S235, continuing to determine the next pixel point adjacent to the target pixel point in the traversing direction as a traversing starting point, and repeating the step of generating the sub-suture line until the wound line is traversed.
The method for obtaining the next sub-suture line by using the next pixel point adjacent to the target pixel point on the wound line as the traversal starting point is the same as the above, and is not repeated here, and when all the pixel points on the wound line are traversed, the operation can be stopped.
Through the mode, all the sub-sutures corresponding to the wound line can be obtained, and the linear sutures can be generated according to all the sub-sutures, so that a plurality of sutures can be automatically generated, the efficiency is improved, and the suture line is more attached to the actual wound condition.
S236, generating a linear suture corresponding to the wound wire according to the sub-suture.
In practical application, after all the sub-sutures corresponding to the wound line are determined, a linear suture corresponding to the wound line at the patient end can be generated according to all the sub-sutures.
S237, or, obtaining waveform parameters configured by the physician end based on the waveform configuration requirement, where the waveform parameters include a wavelength and an amplitude.
It will be understood that the waveform configuration requirement refers to the configuration requirement of the physician end on waveform parameters, where the waveform parameters refer to parameters corresponding to waveforms, the waveform parameters include a wavelength and an amplitude, the wavelength refers to a length of one period of the wave, the amplitude refers to a maximum displacement of a point on the wave from an equilibrium position, by configuring the corresponding wavelength and amplitude, the physician end can determine a specific shape of the wave, and then can generate a waveform suture line corresponding to a wound line.
S238, acquiring end points at two ends of the wound line as a stitching starting point and a stitching end point, taking the stitching starting point as a waveform generation starting point and the stitching end point as a waveform generation end point, and generating a waveform stitching line on the wound line according to the waveform parameters.
The waveform generation start point is a start point of generating a waveform suture line, the waveform generation end point is an end point of generating a waveform suture line, and the specific shape of the waveform can be determined from the wavelength and the amplitude, so that the waveform suture line corresponding to the wound line can be generated from the waveform generation start point.
Through the mode, the suture line can be more attached to the actual wound corresponding to the patient end, and the waveform suture line corresponding to the wound line can be automatically generated, so that the generation efficiency of the waveform suture line can be improved.
S24, determining a plurality of first connecting points corresponding to two sides of the suture line, connecting the first connecting points positioned on the same side to obtain a first connecting line, and performing extension treatment on the first connecting line.
The first connection point refers to two end points of each linear suture, the first connection line refers to a line obtained by connecting end points of the same side of the linear suture, the first connection point refers to an apex corresponding to a crest and a trough of the waveform suture, and the first connection line refers to a line obtained by connecting apexes of the same side of the waveform suture, so that the first connection point and the first connection line are different for sutures of different shapes.
In practical application, in order to enable the first connecting line and the second connecting line to intersect to form a region subsequently, the first connecting line can be subjected to extension treatment, so that the integrity of a wound surface generated subsequently can be ensured.
By determining the first connection point to obtain the first connection line, the efficiency of data processing can be improved.
S25, acquiring end points at two ends of the wound wire as second connection points, generating second connection wires perpendicular to the tangential direction of the second connection points, and generating wound surfaces corresponding to the wound configuration information according to the first connection wires and the second connection wires.
The second connecting point refers to two endpoints of the wound line, the second connecting line refers to a line perpendicular to the tangential direction at the endpoint of the wound line, and the wound surface refers to a plane corresponding to the wound.
It can be understood that the tangential direction of the two end points of the wound line can be determined first, and then two lines perpendicular to the tangential direction of the two end points are made, at this time, the two lines and the first connecting line of the extension process can intersect, and then an area can be cut out, and the area is the wound surface corresponding to the wound configuration information.
By the method, the wound surface can completely cover the wound wire, and the integrity of the obtained data is ensured.
And S26, adjusting the thickness of the wound surface according to the element thickness corresponding to the wound element to obtain a wound virtual layer corresponding to the wound element.
The element thickness refers to a preset thickness corresponding to the wound element, and a corresponding wound virtual layer can be obtained by adjusting the thickness of the wound surface, so that the data of the wound virtual layer can be uploaded by a subsequent patient end.
And S3, a treatment layer generating strategy is called, a treatment virtual layer corresponding to the treatment element is generated according to the customized indication structure, and the auxiliary virtual model is updated according to the wound virtual layer and the treatment virtual layer to obtain a treatment indication model and sent to the patient end.
The treatment layer generation strategy is a strategy of generating treatment virtual layers corresponding to treatment elements according to a certain sequence, the treatment virtual layers are virtual layers corresponding to the treatment elements, the treatment indication model is a model that a patient end can upload data in combination with own requirements, and because the customized nodes in the customized indication structure are arranged according to a certain sequence and correspond to the customized elements, the treatment virtual layers corresponding to the treatment elements can be generated according to the sequence of the customized indication structure, and then the treatment indication model can be obtained by combining the wound virtual layers.
For example: a wound virtual layer and a plurality of treatment virtual layers can be generated in the head virtual model corresponding to the patient end, so that the head virtual model can be updated to obtain a corresponding treatment indication model.
The specific implementation manner of step S3 based on the above embodiment may be:
S31, acquiring element attributes of the treatment elements, wherein the element attributes comprise internal attributes and external attributes, determining that the treatment elements with the internal attributes are internal treatment elements, and determining that the treatment elements with the external attributes are external treatment elements.
It can be understood that the element attribute refers to an attribute corresponding to a treatment element, the treatment element in the present embodiment includes an internal treatment element and an external treatment element, the internal treatment element refers to an internal corresponding treatment element, such as a medicine, gauze, etc. at a wound, where the internal treatment element may be automatically generated, the external treatment element refers to an external corresponding treatment element, such as a head elastic cap, etc., where the head elastic cap may be preset by a worker in advance and corresponds to a head of a patient end, and then when stacking, the wound virtual layer and the internal virtual layer corresponding to the internal treatment element may be stacked first to obtain a stacked virtual layer, and then the external treatment element is directly stacked on the stacked virtual layer.
Because the internal therapeutic elements are automatically generated and the external therapeutic elements are preset in advance, the internal therapeutic elements and the external therapeutic elements are generated in different modes, so that the therapeutic elements can be distinguished, the therapeutic elements can be overlapped according to a certain sequence, and specifically, the internal therapeutic elements can be overlapped first and then the external therapeutic elements can be overlapped.
S32, sequentially generating internal virtual layers corresponding to the internal treatment elements according to the arrangement sequence of the internal treatment elements in the customized indication structure, and stacking the wound virtual layers and the internal virtual layers based on the customized indication structure to obtain stacked virtual layers.
The internal virtual layer is a virtual layer corresponding to the internal treatment element, the stacked virtual layer is a virtual layer formed by stacking the wound virtual layer and the internal virtual layer, and the wound virtual layer and the internal virtual layer can be stacked firstly because the wound element is arranged at the beginning position, the internal treatment element is arranged at the middle position, the external treatment element is arranged at the end position, the wound virtual layer is positioned at the innermost part, the internal virtual layer is positioned at the middle part, and the external virtual layer is positioned at the outermost part for the actual model.
For example: each internal treatment element in the customized indication structure is a medicine, gauze and a head elastic cap, corresponding internal virtual layers can be sequentially generated according to the arrangement sequence of each internal treatment element in the customized indication structure, and the wound virtual layers, the internal virtual layers corresponding to the medicine, the internal virtual layers corresponding to the gauze and the internal virtual layers corresponding to the head elastic cap can be sequentially stacked to obtain stacked virtual layers.
The specific implementation manner of step S32 based on the above embodiment may be:
S321, acquiring an internal treatment element which is adjacent to the wound element and is positioned behind the wound element as a target element according to the customized indication structure.
It will be appreciated that the internal treatment elements may all be determined to be located behind the wound element according to the custom indication structure, and that since a plurality of internal treatment elements may be included behind the wound element, it is desirable to determine the internal treatment elements adjacent to the wound element.
For example: the internal treatment element corresponding to dressing change is adjacent to and behind the wound element, and thus the internal treatment element corresponding to dressing change can be taken as the target element.
S322, determining an outer contour corresponding to a wound surface of the wound element as a reference contour, and expanding each contour point outwards by a preset expansion distance by taking each contour point corresponding to the reference contour as a reference point to obtain an expansion point corresponding to each contour point.
The reference contour refers to an initial contour which is expanded, the reference point refers to a point on the initial contour which is expanded, the preset expansion distance refers to the preset outward expansion distance of a worker, the expansion point refers to a point obtained by expansion, and each contour point can be outwardly expanded on the outer surface of the head contour according to the preset expansion distance to obtain each expansion point.
By setting the preset expansion distance, the outline corresponding to the generated expansion point can completely cover the wound surface.
S323, generating an expansion contour according to each expansion point, and determining the surface corresponding to the expansion contour as a virtual surface corresponding to the target element.
It can be understood that the extended profile refers to a profile formed by each extended point, the extended points are connected to obtain a corresponding extended profile, the virtual surface refers to a virtual plane corresponding to the target element, for example, after the internal treatment element corresponding to the dressing change is determined to be the target element, the virtual surface corresponding to the target element can be obtained through extension, so that the virtual surface corresponding to the target element can completely cover the wound surface.
S324, adjusting the thickness of the virtual surface according to the element thickness corresponding to the target element to obtain an internal virtual layer corresponding to the target element.
The element thickness is thickness information preset corresponding to the target element, and the thickness corresponding to each internal treatment element is preset in advance by a worker due to different thicknesses corresponding to different internal treatment elements, so that the thickness of the virtual surface corresponding to the target element can be adjusted correspondingly.
Through the mode, the obtained internal virtual layer can be more in line with the actual situation and is more attached to the actual wound situation of the patient end.
And S325, positioning the inner virtual layer according to the center point of the wound virtual layer, and stacking the inner virtual layer above the wound virtual layer.
It will be appreciated that the center points of the wound virtual layer and the inner virtual layer may be determined first, then the center points of the two virtual layers may be coincident, and the inner virtual layer may be positioned, as the center points of the two virtual layers are coincident and the inner virtual layer is located above the wound virtual layer, the inner virtual layer may completely cover the wound virtual layer and thus the inner virtual layer may be superimposed above the wound virtual layer.
S326, acquiring an internal treatment element adjacent to and behind the target element as the next target element based on the customized indication structure.
In practical applications, after determining the internal virtual layer corresponding to the first target element, an internal treatment element adjacent to and located after the target element may be determined as the next target element in the order of the custom indication structure from the target element.
For example: after determining the internal virtual layer of the internal treatment element corresponding to the dressing change, the internal treatment element corresponding to the gauze dressing may be determined as the next target element in the order in the custom indication structure.
S327, determining the outer contour corresponding to the virtual surface of the target element as the next reference contour, and repeating the step of generating the internal virtual layer to continuously generate the internal virtual layer corresponding to the next target element.
The step of generating the internal virtual layer corresponding to the next target element is the same as the above step, and will not be described herein.
For example: the outer contour of the inner virtual layer of the inner therapeutic element corresponding to the dressing change can be used as a reference contour, and the inner virtual layer of the inner therapeutic element corresponding to the gauze dressing can be generated by repeating the steps.
And S328, stacking the next internal virtual layer corresponding to the target element above the internal virtual layer corresponding to the target element, and stopping the steps until the stacking process of the internal virtual layer of the last internal therapeutic element is completed.
For example: the internal virtual layer of the internal therapeutic element corresponding to gauze dressing can be overlapped above the internal virtual layer of the internal therapeutic element corresponding to dressing change, and according to the sequence of the customized indication structure, the operation can be stopped when the overlapping of the internal virtual layer corresponding to the last internal therapeutic element is completed, if the internal therapeutic element corresponding to gauze dressing is the last element in the customized indication structure, the operation can be stopped after the overlapping of the internal virtual layer of the internal therapeutic element corresponding to gauze dressing is completed.
And S329, obtaining a stacked virtual layer according to the stacked wound virtual layer and the stacked internal virtual layer.
Wherein, because the center point of the plurality of internal virtual layers corresponds to the center point of the wound virtual layer, the wound virtual layer and the internal virtual layer can be stacked to obtain a stacked virtual layer.
S33, determining a pixel point on the outer surface of the auxiliary virtual model, which corresponds to each first pixel point in the upper surface of the stacked virtual layer vertically, as a second pixel point, and obtaining the phase difference distance between the corresponding first pixel point and the second pixel point.
It can be understood that the first pixel point refers to a point on the upper surface of the uppermost internal virtual layer in the stacked virtual layers, and the second pixel point refers to a pixel point on the outer surface of the auxiliary virtual model, which corresponds to the first pixel point vertically.
For example: the uppermost internal virtual layer in the stacked virtual layers is the internal virtual layer corresponding to gauze wrapping, and then the first pixel point can be a point on the upper surface of the internal virtual layer corresponding to gauze wrapping, and the second pixel point can be a point which corresponds to the first pixel point vertically on the outer surface of the head model, so that the external virtual layer can be accurately overlapped above the stacked virtual layer.
S34, acquiring a first pixel point corresponding to the largest phase difference distance as a first positioning point and the second pixel point as a target positioning point.
After determining the phase difference distance between the first pixel point and the second pixel point, the largest phase difference distance can be determined by comparing the phase differences, so that the first positioning point is the first pixel point corresponding to the largest phase difference distance, and the target positioning point is the second pixel point corresponding to the largest phase difference distance.
The first positioning point and the target positioning point are determined through the maximum phase difference distance, so that accurate positioning and superposition of the external virtual layers can be conveniently carried out later.
And S35, calling an external virtual layer corresponding to the external treatment element, wherein the external virtual layer corresponds to the outer surface of the auxiliary virtual model, and determining a pixel point corresponding to the target positioning point in the external virtual layer as a second positioning point.
It is understood that the external virtual layer refers to a virtual layer corresponding to the external treatment element, and since the external virtual layer corresponds to the external surface of the auxiliary virtual model, a second anchor point corresponding to the target anchor point on the auxiliary virtual model may be determined on the external virtual layer.
For example: the external virtual layer corresponding to the head elastic cap corresponds to an outer surface of the head model, and after determining the target positioning point on the head model, a second positioning point corresponding to the target positioning point on the head model may be determined on the external virtual layer corresponding to the head elastic cap.
S36, positioning the second positioning point based on the first positioning point, adding the external virtual layer above the stacked virtual layer, updating the auxiliary virtual model to obtain a treatment indication model, and sending the treatment indication model to the patient end.
The second positioning point on the external virtual layer can be positioned according to the first positioning point on the stacked virtual layer, and the external virtual layer is overlapped on the stacked virtual layer, so that a treatment indication model can be obtained and displayed to a patient end.
By the method, the subsequent patient side can carry out corresponding data uploading in the treatment indication model according to the self-demand.
Furthermore, in some embodiments, the physician side may add instructions to each virtual layer that direct the video to guide the patient side to do the corresponding operation, for example: the indication video can be a video of dressing change, a video of gauze dressing, etc., a video of wearing a head elastic cap.
The present solution further comprises the following embodiments before the patient side obtains treatment record data for the treatment indication model based on the physician side's record viewing requirements and transmits the data to the physician side:
And receiving a treatment record request of the patient end, and performing movement processing on each treatment virtual layer according to the separation direction and the separation distance to obtain a display virtual layer.
The treatment record requirement refers to a request of a patient end for recording treatment conditions, the separation direction refers to a direction for separating treatment virtual layers, the separation distance refers to a distance for moving the treatment virtual layers, and the display virtual layers refer to separated wound virtual layers and treatment virtual layers.
It can be understood that after receiving the treatment record request of the patient end, the plurality of treatment virtual layers can be moved and separated according to a certain direction and a certain distance, so that the patient end can click on the corresponding virtual layer and upload data.
And acquiring element labels corresponding to the customized elements, updating the element labels to label display areas corresponding to the wound virtual layers or the treatment virtual layers in the display virtual layers, updating the treatment indication model according to the display virtual layers to obtain a model to be recorded, and sending the model to the patient end.
In practical application, the element label refers to a label corresponding to a customized element preset in advance by a worker, such as wound, dressing, gauze wrapping and the like, the label display area refers to an area in which the corresponding label can be displayed in the display virtual layer, and the model to be recorded refers to a virtual model in which the patient end can record data.
It can be understood that the element labels corresponding to the customized elements can be filled into the label display areas corresponding to the display virtual layers, so that the specific content corresponding to each display virtual layer can be visually seen by the patient side, and the clicking selection and data uploading of the corresponding display virtual layers by the patient side can be facilitated.
And receiving the wound virtual layer or the treatment virtual layer selected by the patient side as a recording layer, and acquiring the recording data uploaded by the patient side to the recording layer.
The recording layer is a virtual layer selected by the patient end and used for uploading data, and the recorded data is data obtained by recording the wound condition or the treatment condition corresponding to the recording layer by the patient end.
In practical application, after clicking the corresponding virtual layer, the patient end can play the indication video uploaded by the doctor end to the patient end, the patient end can correspondingly process the actual wound condition after watching the indication video, and after finishing the processing, the patient end can upload the image or video of the wound processing condition, for example, the patient end can shoot and upload the image of the finishing condition of changing medicine after finishing the changing medicine, and can shoot and upload the video in the concrete process of changing medicine.
And determining the recording time of the recorded data, and obtaining treatment recorded data according to the recording time and the recorded data.
It can be understood that the recording time refers to the time of data uploading by the patient end, the treatment recording data includes specific data and time of data uploading by the patient end, and by determining the specific time of data uploading by the patient end, the wound treatment condition of the patient end by the doctor end can be clearer, and the doctor end can be assisted to perform corresponding treatment.
And updating the model to be recorded according to the treatment record data to obtain a treatment record model.
The treatment record model is a virtual model for recording the treatment condition of the patient end to the wound, and can be obtained according to the treatment record data.
By the mode, the patient side can conduct corresponding data recording according to the treatment record model.
S4, acquiring treatment record data of the patient side to the treatment indication model based on the record viewing requirement of the doctor side, and sending the treatment record data to the doctor side.
It will be appreciated that the record viewing requirement refers to a requirement that the physician terminal views a specific record condition of the patient terminal, for example, after a period of time of operation, the physician terminal wants to see whether disconnection can be performed, at this time, the physician terminal can set up a viewing requirement for the specific record condition of the patient terminal, and after receiving the viewing requirement of the physician terminal, the physician terminal can display treatment record data corresponding to the patient terminal.
The specific implementation manner of step S4 based on the above embodiment may be:
S41, acquiring record viewing requirements of the doctor side, wherein the record viewing requirements comprise wound viewing requirements and/or treatment viewing requirements.
The wound checking requirement refers to the requirement that a doctor end checks the wound healing condition of a patient end, the treatment checking requirement refers to the requirement that the doctor end checks the wound treatment condition of the patient end, and the doctor end can check only the wound healing condition or the wound treatment condition of the patient end and can check both the wound healing condition and the wound treatment condition of the patient end.
S42, acquiring the record data corresponding to the wound virtual layer as first record data according to the wound viewing requirement, and arranging the first record data according to the record time corresponding to the first record data to obtain a first record sequence.
It is understood that the first record data refers to record data uploaded by the patient end to the wound virtual layer, and the first record sequence refers to a sequence in which the first record data are arranged.
For example: the recording time corresponding to the three first recording data is three consecutive days, and the first recording data may be arranged according to the recording time sequence to obtain the first recording sequence.
S43, arranging the recorded image frames corresponding to the first recorded data according to the first recording sequence to obtain wound checking data.
The recorded image frames refer to image frames corresponding to the first recorded data, for example, may be image frames corresponding to a single image, or may be a plurality of image frames corresponding to a video, the wound checking data refers to checking data of wound healing conditions of a patient end, the recorded image frames may be arranged according to an order in the first recording sequence, and the wound checking data may be obtained and sent to a doctor end for corresponding checking.
It should be noted that, since there are a plurality of first recorded data, the corresponding recording time may be displayed in the first frame of each first recorded data, so that the doctor side may conveniently view the corresponding recording time.
S44, acquiring the record data corresponding to the treatment virtual layer as second record data according to the treatment view requirement, and generating treatment view data based on the record time corresponding to each second record data.
It can be understood that the second record data refers to record data uploaded by the patient end to the treatment virtual layer, the second record data refers to record data corresponding to the treatment virtual layer, the treatment check data refers to check data of wound treatment condition of the patient end, and after the treatment check requirement of the doctor end is obtained, the treatment check data can be obtained according to record time corresponding to the second record data.
In some embodiments, step S44 may be implemented through steps S441 to S445, specifically as follows:
S441, obtaining a recording date corresponding to each second recording data according to the recording time corresponding to each second recording data.
The recording date refers to a date corresponding to the second recording data, and the corresponding recording date can be determined according to the recording time corresponding to the second recording data.
S442, second record data with the same record date is obtained as the same record set, a preset time frame is called, and a time filling area in the preset time frame is updated according to the record date to obtain a time display frame corresponding to the record set.
It can be understood that the preset time frame refers to an image frame that is preset by a worker in advance and is subjected to time filling, the time filling area refers to an area filled with a corresponding recording date in the preset time frame, and the time display frame refers to a frame displaying the corresponding recording date.
In practical application, the patient end generally carries out corresponding treatment on the wound on the same date, so that the second recorded data with the same recording date can be used as a recording set, the recording date is filled into a corresponding time filling area in a preset time frame, a time display frame corresponding to the recording set can be obtained, the recording date can be displayed correspondingly, and the doctor end can look over intuitively.
S443, arranging the second record data according to the custom serial numbers of the custom elements corresponding to the second record data in the record sets to obtain second record sequences corresponding to the record sets.
The second recording sequence is a sequence formed by arranging the second recording data, and each second recording data corresponds to one custom element, and each custom element corresponds to one custom sequence number, so that the second recording data can be arranged according to the sequence of the custom sequence numbers of the custom elements corresponding to the second recording data.
For example: the corresponding sequence of each customized element is that dressing is firstly changed, gauze is wrapped, and finally, the head elastic cap is worn, so that the second record data corresponding to each customized element can be arranged according to the sequence to obtain a second record sequence, and a doctor can determine the specific treatment condition of the wound when the corresponding date of the patient is reached.
S444, arranging the recorded image frames corresponding to the second recorded data according to the second recording sequence, and arranging the corresponding time display frames to the first frames to obtain sub-viewing data corresponding to the recording sets.
In practical application, the recorded image frames corresponding to the second recorded data may be arranged in the order of the second recording sequence, and in order to display time, the image frame with time information may be added to the first frame, so that display of time information may be performed.
S445, arranging all the sub-view data according to the recording date to obtain treatment view data.
The method comprises the steps of arranging a plurality of sub-viewing data according to corresponding recording dates to obtain the actual treatment condition of a patient end on wounds.
S45, generating record viewing data based on the wound viewing data and/or the treatment viewing data and sending the record viewing data to the doctor side.
It can be understood that the record viewing data refers to data that a doctor side can view actual treatment conditions of a patient side, and corresponding record viewing data can be generated and displayed to the doctor side according to wound viewing data and/or treatment viewing data.
By the mode, the doctor side can correspondingly check the actual treatment condition of the patient side, so that the doctor side can be assisted in treatment.
Referring to fig. 2, a schematic structural diagram of a neural network learning-based neurosurgical wound auxiliary treatment system according to an embodiment of the present invention includes:
the arrangement module is used for arranging customized elements configured for a patient end by a doctor end according to the auxiliary treatment requirement of the doctor end to obtain a customized indication structure, wherein the customized elements comprise wound elements and treatment elements;
the customization module is used for receiving wound configuration information of the auxiliary virtual model from the doctor end and generating a wound virtual layer corresponding to the wound element according to the wound configuration information;
the summarizing module is used for retrieving a treatment layer generation strategy, generating a treatment virtual layer corresponding to the treatment element according to the customized indication structure, updating the auxiliary virtual model according to the wound virtual layer and the treatment virtual layer to obtain a treatment indication model, and sending the treatment indication model to the patient end;
And the display module is used for acquiring treatment record data of the patient side to the treatment indication model based on the record viewing requirement of the doctor side and sending the treatment record data to the doctor side.
The apparatus of the embodiment shown in fig. 2 may be correspondingly used to perform the steps in the embodiment of the method shown in fig. 1, and the implementation principle and technical effects are similar, and are not repeated here.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.