Real-time synchronous endoscope lesion positioning method and system for confocal laser microscopy endoscope
Technical Field
The invention belongs to the field of real-time synchronous endoscope lesion positioning, and particularly relates to a real-time synchronous endoscope lesion positioning method and system of a confocal laser micro-endoscope.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
The confocal micro-endoscope can amplify the mucous membrane structure by 1000 times, observe the histological morphology in real time and accurately diagnose various digestive tract mucous membrane pathological changes. The inventor finds that when an endoscope doctor finishes observation of the confocal endoscope and prepares for biopsy, the inventor often finds that the position of lesion found under the confocal endoscope can not be determined under the white light endoscope, and the position can not be accurately positioned when biopsy is taken, so that misdiagnosis and missed diagnosis are caused. In clinical practice, the endoscopist sometimes marks the mucosa with a confocal probe by touching it hard, but this method often damages the mucosa and has limited effectiveness.
Disclosure of Invention
In order to solve the problems, the invention provides a confocal laser micro-endoscope real-time synchronous endoscope lesion positioning method and a confocal laser micro-endoscope real-time synchronous endoscope lesion positioning system.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a real-time synchronous endoscope lesion positioning method of a confocal laser microscopy endoscope, which comprises the following steps:
receiving a notice of observing the confocal micro-endoscope, synchronously pre-collecting a white light endoscope image of the current position of a probe of the confocal micro-endoscope in real time for caching, and calling a pre-trained neural network model to identify the part corresponding to the currently cached white light endoscope image;
in the observation process of the confocal micro-endoscope, judging whether a notification that the confocal micro-endoscope finds a lesion is received or not in real time, if so, storing the current cached white light endoscope image into a lesion image file storage library, and performing associated storage with the current confocal micro-endoscope image; and if not, acquiring the corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal microscope starts to observe the notification next time, and continuously judging whether the notification that the confocal microscope finds the lesion is received or not in real time.
The second aspect of the present invention provides a confocal laser microscopy real-time synchronous endoscope lesion positioning system, comprising:
the real-time synchronous acquisition module is used for receiving a notice of observing the confocal micro-endoscope, synchronously pre-acquiring a white light endoscope image of the current position of a probe of the confocal micro-endoscope in real time for caching, and calling a pre-trained neural network model to identify the part corresponding to the currently cached white light endoscope image;
the detected lesion notification judging module is used for judging whether a detected lesion notification of the confocal micro-endoscope is received in real time in the observation process of the confocal micro-endoscope, if so, storing the current cached white light endoscope image into a lesion image file storage library and storing the current cached white light endoscope image in association with the current confocal micro-endoscope image; and if not, acquiring the corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal microscope starts to observe the notification next time, and continuously judging whether the notification that the confocal microscope finds the lesion is received or not in real time.
The invention has the beneficial effects that:
the method comprises the steps of synchronously pre-acquiring a white light endoscope image of the current position of a probe of the confocal micro-endoscope in real time for caching while receiving a notice of observing the confocal micro-endoscope, and simultaneously calling a pre-trained neural network model to identify the part corresponding to the currently cached white light endoscope image; in the process of observing the confocal micro-endoscope, judging whether a notification that the confocal micro-endoscope finds the pathological changes is received in real time, and storing the current cached white light endoscope image into a pathological change image file storage library and storing the white light endoscope image in association with the current confocal micro-endoscope image when the notification that the confocal micro-endoscope finds the pathological changes is received; when the notification that the confocal micro-endoscope finds the pathological changes is not received, acquiring a corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal micro-endoscope starts to observe the notification next time, and continuously judging whether the notification that the confocal micro-endoscope finds the pathological changes is received or not in real time;
according to the method, the corresponding incidence relation between the confocal micro-endoscope image and the white-light endoscope image is utilized, the white-light endoscope image is utilized to mark the observation position of the confocal probe, the accuracy of lesion location is improved, the condition that the mucosa is damaged by forcibly touching the mucosa by the confocal probe is avoided, the lesion part of the mucosa of the digestive tract is identified by utilizing the pre-trained neural network model, and the identification efficiency of the lesion part is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the invention and not to limit the invention.
FIG. 1 is a flowchart of a real-time synchronized endoscopic lesion localization method of confocal laser microscopy according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a confocal laser microscopy real-time synchronized endoscope lesion location system according to an embodiment of the present invention.
Detailed Description
The invention is further described with reference to the following figures and examples.
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
Example 1
FIG. 1 is a flowchart of a real-time synchronized endoscopic lesion localization method of confocal laser microscopy according to this embodiment.
The detailed scheme of the real-time synchronous endoscope lesion location method of the confocal laser microscopy endoscope of the embodiment is given below with reference to fig. 1:
as shown in fig. 1, the method for real-time synchronized endoscopic lesion location in confocal laser microscopy according to this embodiment at least includes:
step S101: and receiving a notice of observing the confocal micro-endoscope, synchronously pre-acquiring a white light endoscope image of the current position of the confocal micro-endoscope probe in real time for caching, and calling a pre-trained neural network model to identify the part corresponding to the currently cached white light endoscope image.
In the step, when the confocal micro-endoscope starts to observe, the confocal micro-endoscope works and collects images of the confocal micro-endoscope in real time; when the notification that the confocal micro-endoscope starts to observe is received, a white light endoscope image of the current position of the confocal micro-endoscope probe is synchronously pre-acquired in real time, so that the synchronization of the confocal micro-endoscope image and the white light endoscope image is realized, and data support is provided for the subsequent identification of the lesion part of the alimentary tract mucous membrane.
In specific implementation, the white light endoscope image synchronously pre-acquired in real time at the current position of the confocal microscopy endoscope probe is associated and cached with a preset unique identifier.
The unique identifier may be any one or any combination of numbers, letters or other symbols. According to the embodiment, the white light endoscopic images are cached in the association mode through the unique identifiers, so that the accuracy of later-period white light endoscopic image retrieval and the cache ordering are facilitated, and meanwhile the rapidity of white light endoscopic image retrieval is improved.
In specific implementation, the input end of the neural network model inputs the white light endoscopic image and outputs a part corresponding to the currently cached white light endoscopic image; the training process comprises the following steps:
dividing the white light endoscope images marked with a preset number of known positions into two groups, namely a training set and a test set;
and training the convolutional neural network model by using the training set, screening out the convolutional neural network model with the optimal parameters by using the test set, and finishing the training of the convolutional neural network model.
The convolutional neural network has the characteristic learning ability and can carry out translation invariant classification on input information according to the hierarchical structure of the convolutional neural network.
Step S102: in the observation process of the confocal micro-endoscope, judging whether a notification that the confocal micro-endoscope finds a lesion is received or not in real time, if so, storing the current cached white light endoscope image into a lesion image file storage library, and performing associated storage with the current confocal micro-endoscope image; and if not, acquiring the corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal microscope starts to observe the notification next time, and continuously judging whether the notification that the confocal microscope finds the lesion is received or not in real time.
In specific implementation, when the notification that the confocal micro-endoscope finds the lesion is judged not to be received, the collected white light endoscope image of the current position of the confocal micro-endoscope probe at the current moment is cached after the unique identifier is updated.
The embodiment associates the white light endoscope image with the unique identifier, thereby avoiding the phenomenon that the white light endoscope image is stored wrongly, which affects the later image retrieval and affects the accuracy of the whole lesion location.
As a specific implementation manner, in the observation process of the confocal micro-endoscope, before determining whether a notification of finding a lesion by the confocal micro-endoscope is received in real time, the method further includes:
and identifying the digestive tract mucous membrane lesion of the confocal micro-endoscope image acquired in the confocal micro-endoscope observation process.
Specifically, the process of identifying the lesion of the alimentary tract mucosa of a confocal micro-endoscope image acquired in the observation process of the confocal micro-endoscope comprises the following steps:
training a digestive tract mucous membrane lesion recognition model, and outputting a result that a current confocal micro-endoscope image has digestive tract mucous membrane lesion by using the trained digestive tract mucous membrane lesion recognition model; the digestive tract mucous membrane lesion identification model is a preset neural network model; for example: the BP neural network comprises an input layer, a connecting layer and an output layer, wherein the input layer comprises 3 input quantities which are respectively input with color characteristics, texture characteristics and shape characteristics; the output layer is 0 or 1, and when the output layer is 0, the digestive tract mucous membrane lesion is not identified; when 1, the explanation identifies the lesion of the mucosa of the digestive tract.
In specific implementation, the process of training the digestive tract mucosal lesion recognition model comprises the following steps:
acquiring a plurality of confocal micro-endoscope images with digestive tract mucous membrane lesion, extracting color characteristics, texture characteristics and shape characteristics of the confocal micro-endoscope images and taking the color characteristics, the texture characteristics and the shape characteristics as training characteristic sets;
and inputting the training feature set into the digestive tract mucous membrane lesion recognition model for training until the accuracy of the digestive tract mucous membrane lesion result is judged to meet the preset requirement, and finishing the digestive tract mucous membrane lesion recognition model.
According to the embodiment, the trained digestive tract mucous membrane lesion recognition model is utilized, whether digestive tract mucous membrane lesions exist or not is automatically recognized, and the accuracy and the speed of recognition of the whole digestive tract mucous membrane lesions are improved.
In the embodiment, while the notification of the start of observation of the confocal micro-endoscope is received, a white light endoscope image of the current position of a probe of the confocal micro-endoscope is synchronously pre-acquired in real time for caching, and a pre-trained neural network model is called to identify the part corresponding to the currently cached white light endoscope image; in the process of observing the confocal micro-endoscope, judging whether a notification that the confocal micro-endoscope finds the pathological changes is received in real time, and storing the current cached white light endoscope image into a pathological change image file storage library and storing the white light endoscope image in association with the current confocal micro-endoscope image when the notification that the confocal micro-endoscope finds the pathological changes is received; when the notification that the confocal micro-endoscope finds the pathological changes is not received, acquiring a corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal micro-endoscope starts to observe the notification next time, and continuously judging whether the notification that the confocal micro-endoscope finds the pathological changes is received or not in real time; in the embodiment, the position of the confocal probe observed is identified by utilizing the white light endoscope image according to the corresponding incidence relation between the confocal micro-endoscope image and the white light endoscope image, so that the accuracy of lesion positioning is improved, the condition that the confocal probe is used for forcibly touching the mucosa to mark the injury of the mucosa is avoided, the lesion part of the mucosa of the digestive tract is identified by utilizing the pre-trained neural network model, and the recognition efficiency of the lesion part is improved.
Example 2
Fig. 2 is a schematic structural diagram of a confocal laser microscopy real-time synchronous endoscope lesion location system according to the embodiment.
The detailed scheme of the real-time synchronous endoscope lesion positioning system of the confocal laser microscopy endoscope of the embodiment is given below with reference to fig. 2:
as shown in fig. 2, the real-time synchronized endoscopic lesion positioning system of confocal laser microscopy according to the present embodiment at least includes:
(1) and the real-time synchronous acquisition module is used for receiving a notice of observing the confocal micro-endoscope, synchronously pre-acquiring a white light endoscope image of the current position of the probe of the confocal micro-endoscope in real time for caching, and calling a pre-trained neural network model to identify the part corresponding to the currently cached white light endoscope image.
When the confocal micro-endoscope starts to observe, the confocal micro-endoscope works and collects images of the confocal micro-endoscope in real time; when the notification that the confocal micro-endoscope starts to observe is received, a white light endoscope image of the current position of the confocal micro-endoscope probe is synchronously pre-acquired in real time, so that the synchronization of the confocal micro-endoscope image and the white light endoscope image is realized, and data support is provided for the subsequent identification of the lesion part of the alimentary tract mucous membrane.
In specific implementation, the white light endoscope image synchronously pre-acquired in real time at the current position of the confocal microscopy endoscope probe is associated and cached with a preset unique identifier.
The unique identifier may be any one or any combination of numbers, letters or other symbols. According to the embodiment, the white light endoscopic images are cached in the association mode through the unique identifiers, so that the accuracy of later-period white light endoscopic image retrieval and the cache ordering are facilitated, and meanwhile the rapidity of white light endoscopic image retrieval is improved.
In specific implementation, the input end of the neural network model inputs the white light endoscopic image and outputs a part corresponding to the currently cached white light endoscopic image; the training process comprises the following steps:
dividing the white light endoscope images marked with a preset number of known positions into two groups, namely a training set and a test set;
and training the convolutional neural network model by using the training set, screening out the convolutional neural network model with the optimal parameters by using the test set, and finishing the training of the convolutional neural network model.
The convolutional neural network has the characteristic learning ability and can carry out translation invariant classification on input information according to the hierarchical structure of the convolutional neural network.
(2) The detected lesion notification judging module is used for judging whether a detected lesion notification of the confocal micro-endoscope is received in real time in the observation process of the confocal micro-endoscope, if so, storing the current cached white light endoscope image into a lesion image file storage library and storing the current cached white light endoscope image in association with the current confocal micro-endoscope image; and if not, acquiring the corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal microscope starts to observe the notification next time, and continuously judging whether the notification that the confocal microscope finds the lesion is received or not in real time.
In specific implementation, when the notification that the confocal micro-endoscope finds the lesion is judged not to be received, the collected white light endoscope image of the current position of the confocal micro-endoscope probe at the current moment is cached after the unique identifier is updated.
The embodiment associates the white light endoscope image with the unique identifier, thereby avoiding the phenomenon that the white light endoscope image is stored wrongly, which affects the later image retrieval and affects the accuracy of the whole lesion location.
As a specific implementation manner, in the observation process of the confocal micro-endoscope, before determining whether a notification of finding a lesion by the confocal micro-endoscope is received in real time, the method further includes:
and identifying the digestive tract mucous membrane lesion of the confocal micro-endoscope image acquired in the confocal micro-endoscope observation process.
Specifically, the process of identifying the lesion of the alimentary tract mucosa of a confocal micro-endoscope image acquired in the observation process of the confocal micro-endoscope comprises the following steps:
training a digestive tract mucous membrane lesion recognition model, and outputting a result that a current confocal micro-endoscope image has digestive tract mucous membrane lesion by using the trained digestive tract mucous membrane lesion recognition model; the digestive tract mucous membrane lesion identification model is a preset neural network model; for example: the BP neural network comprises an input layer, a connecting layer and an output layer, wherein the input layer comprises 3 input quantities which are respectively input with color characteristics, texture characteristics and shape characteristics; the output layer is 0 or 1, and when the output layer is 0, the digestive tract mucous membrane lesion is not identified; when 1, the explanation identifies the lesion of the mucosa of the digestive tract.
In specific implementation, the process of training the digestive tract mucosal lesion recognition model comprises the following steps:
acquiring a plurality of confocal micro-endoscope images with digestive tract mucous membrane lesion, extracting color characteristics, texture characteristics and shape characteristics of the confocal micro-endoscope images and taking the color characteristics, the texture characteristics and the shape characteristics as training characteristic sets;
and inputting the training feature set into the digestive tract mucous membrane lesion recognition model for training until the accuracy of the digestive tract mucous membrane lesion result is judged to meet the preset requirement, and finishing the digestive tract mucous membrane lesion recognition model.
According to the embodiment, the trained digestive tract mucous membrane lesion recognition model is utilized, whether digestive tract mucous membrane lesions exist or not is automatically recognized, and the accuracy and the speed of recognition of the whole digestive tract mucous membrane lesions are improved.
In the embodiment, while the notification of the start of observation of the confocal micro-endoscope is received, a white light endoscope image of the current position of a probe of the confocal micro-endoscope is synchronously pre-acquired in real time for caching, and a pre-trained neural network model is called to identify the part corresponding to the currently cached white light endoscope image; in the process of observing the confocal micro-endoscope, judging whether a notification that the confocal micro-endoscope finds the pathological changes is received in real time, and storing the current cached white light endoscope image into a pathological change image file storage library and storing the white light endoscope image in association with the current confocal micro-endoscope image when the notification that the confocal micro-endoscope finds the pathological changes is received; when the notification that the confocal micro-endoscope finds the pathological changes is not received, acquiring a corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal micro-endoscope starts to observe the notification next time, and continuously judging whether the notification that the confocal micro-endoscope finds the pathological changes is received or not in real time; in the embodiment, the position of the confocal probe observed is identified by utilizing the white light endoscope image according to the corresponding incidence relation between the confocal micro-endoscope image and the white light endoscope image, so that the accuracy of lesion positioning is improved, the condition that the confocal probe is used for forcibly touching the mucosa to mark the injury of the mucosa is avoided, the lesion part of the mucosa of the digestive tract is identified by utilizing the pre-trained neural network model, and the recognition efficiency of the lesion part is improved.
Example 3
A computer-readable storage medium, having stored thereon a computer program, wherein the program, when executed by a processor, performs the steps of a method for real-time synchronized endoscopic lesion localization in a confocal laser microscopy as illustrated in fig. 1.
In the embodiment, while the notification of the start of observation of the confocal micro-endoscope is received, a white light endoscope image of the current position of a probe of the confocal micro-endoscope is synchronously pre-acquired in real time for caching, and a pre-trained neural network model is called to identify the part corresponding to the currently cached white light endoscope image; in the process of observing the confocal micro-endoscope, judging whether a notification that the confocal micro-endoscope finds the pathological changes is received in real time, and storing the current cached white light endoscope image into a pathological change image file storage library and storing the white light endoscope image in association with the current confocal micro-endoscope image when the notification that the confocal micro-endoscope finds the pathological changes is received; when the notification that the confocal micro-endoscope finds the pathological changes is not received, acquiring a corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal micro-endoscope starts to observe the notification next time, and continuously judging whether the notification that the confocal micro-endoscope finds the pathological changes is received or not in real time; in the embodiment, the position of the confocal probe observed is identified by utilizing the white light endoscope image according to the corresponding incidence relation between the confocal micro-endoscope image and the white light endoscope image, so that the accuracy of lesion positioning is improved, the condition that the confocal probe is used for forcibly touching the mucosa to mark the injury of the mucosa is avoided, the lesion part of the mucosa of the digestive tract is identified by utilizing the pre-trained neural network model, and the recognition efficiency of the lesion part is improved.
Example 4
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for real-time synchronized endoscopic lesion localization in confocal laser microscopy as shown in fig. 1 when executing the program.
In the embodiment, while the notification of the start of observation of the confocal micro-endoscope is received, a white light endoscope image of the current position of a probe of the confocal micro-endoscope is synchronously pre-acquired in real time for caching, and a pre-trained neural network model is called to identify the part corresponding to the currently cached white light endoscope image; in the process of observing the confocal micro-endoscope, judging whether a notification that the confocal micro-endoscope finds the pathological changes is received in real time, and storing the current cached white light endoscope image into a pathological change image file storage library and storing the white light endoscope image in association with the current confocal micro-endoscope image when the notification that the confocal micro-endoscope finds the pathological changes is received; when the notification that the confocal micro-endoscope finds the pathological changes is not received, acquiring a corresponding white-light endoscope image to replace the cached white-light endoscope image when the probe of the confocal micro-endoscope starts to observe the notification next time, and continuously judging whether the notification that the confocal micro-endoscope finds the pathological changes is received or not in real time; in the embodiment, the position of the confocal probe observed is identified by utilizing the white light endoscope image according to the corresponding incidence relation between the confocal micro-endoscope image and the white light endoscope image, so that the accuracy of lesion positioning is improved, the condition that the confocal probe is used for forcibly touching the mucosa to mark the injury of the mucosa is avoided, the lesion part of the mucosa of the digestive tract is identified by utilizing the pre-trained neural network model, and the recognition efficiency of the lesion part is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.