Anti-mirror reflection endoscope system and method for producing anti-mirror reflection endoscope
By setting sapphire protective windows with different cutting directions at the objective end and eyepiece end of the endoscope, combined with linear polarizers and relay lenses, and using the polarization gating method to remove specular reflection, the problem of low imaging quality in medical endoscopic imaging is solved. problem, achieving high-quality imaging.
Patent Information
- Application Number
- CN202410599935.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-15
AI Technical Summary
In medical endoscopic imaging, the imaging quality caused by specular reflection is low, and existing technology cannot effectively solve the problems of missing overexposure position detection, image deformation, and information loss in specular reflection areas.
Design an anti-specular reflection endoscopic system, which uses A-cut and C-cut sapphire protection windows at the objective end and eyepiece end respectively, combined with linear polarizers and relay lenses, and uses polarization gating method to polarize at the exit end of the illumination channel and imaging channel polarization analysis to remove specular reflection and improve imaging quality.
It effectively suppresses image overexposure caused by specular reflection, improves the imaging quality of medical endoscopic imaging, and ensures the integrity of tissue information and image accuracy.
Smart Images

Figure CN118177692B
Abstract
Description
Technical Field
[0001] The present application relates to the medical field, and in particular to an anti-mirror reflection endoscope system and a method for generating an anti-mirror reflection endoscope. Background Art
[0002] Endoscopic imaging system is one of the core equipments of minimally invasive surgery. In minimally invasive surgery, the endoscopic system can provide doctors with real-time image information of narrow cavities in the human body so that doctors can determine the location of lesions and carry out surgery. In addition, the endoscopic imaging system is also the equipment basis of advanced medical technologies such as surgical navigation, intraoperative three-dimensional reconstruction of tissue surface, and intelligent surgical robots, which is of great significance to the development of surgical technology. Therefore, it is also particularly important to improve the endoscopic imaging system to obtain high-quality endoscopic images.
[0003] In endoscopic imaging, specular reflection is the most common factor that reduces the quality of endoscopic images. Positions with strong specular reflection of tissue often form overexposed areas in the image, which not only affects the doctor's observation, but may also cause machine vision-based medical technology to fail in the overexposed area, and the tissue information in the area will be completely lost. The currently commonly used solution is usually based on image algorithms, which detects overexposed areas and fills the overexposed areas with surrounding image information or spatiotemporal redundant information of the overexposed area to achieve the effect of removing specular reflections. However, the current algorithm-based de-specular reflection method still faces the problems of missed detection of overexposed positions, deformation of reconstructed images, and loss of tissue information in specular reflection areas, which in turn leads to low imaging quality in medical endoscopic imaging.
[0004] With regard to the technical problem of low imaging quality in medical endoscopic imaging in related technologies, no effective solution has been proposed so far. Summary of the invention
[0005] In this embodiment, an anti-mirror reflection endoscope system and a method for generating an anti-mirror reflection endoscope are provided to solve the problem of low imaging quality in medical endoscope imaging in related technologies.
[0006] In a first aspect, an anti-mirror reflection endoscopy system is provided in this embodiment, the system comprising:
[0007] An anti-mirror reflection endoscope, wherein an illumination channel, an imaging channel and a linear polarizer are arranged in the anti-mirror reflection endoscope; the imaging channel is coaxially arranged inside the illumination channel, and the linear polarizer is arranged at the exit end of the illumination channel; the objective end and the eyepiece end of the anti-mirror reflection endoscope are respectively provided with a first sapphire protection window and a second sapphire protection window; the transmission axis of the linear polarizer is parallel to the crystal axis of the first sapphire protection window, and the crystal axis of the second sapphire protection window is parallel to the optical axis of the imaging channel; the first sapphire protection window and the second sapphire protection window have different cutting directions;
[0008] A linear polarization imaging unit, wherein the linear polarization imaging unit is arranged on a side of the anti-mirror reflection endoscope close to the eyepiece end;
[0009] A relay lens is disposed between the eyepiece end of the anti-mirror reflection endoscope and the linear polarization imaging unit, and is used to project the image formed by the anti-mirror reflection endoscope onto the linear polarization imaging unit.
[0010] In some of the embodiments, the anti-mirror reflection endoscope further comprises a housing; the housing is coaxially disposed outside the illumination channel.
[0011] In some of these embodiments, the linear polarization imaging unit includes a linear polarizer;
[0012] The linear polarizer is arranged on a side of the linear polarization imaging unit close to the relay lens.
[0013] In some of the embodiments, the linear polarization imaging unit further includes an image sensor;
[0014] The image sensor is disposed at an end of the linear polarizer away from the anti-specular reflection endoscope.
[0015] In some of the embodiments, the relay lens projects an anti-specular endoscope image onto the image sensor.
[0016] In some of these embodiments, the system further comprises an endoscopic cold light source;
[0017] The endoscope cold light source is connected to the light inlet of the anti-mirror reflection endoscope through a light-guiding optical fiber bundle.
[0018] In some of the embodiments, the system further comprises an image processing host;
[0019] The image processing host is electrically connected to the linear polarization imaging unit.
[0020] In a second aspect, a method for generating an anti-mirror reflection endoscope is provided in this embodiment, for generating a sapphire protective window in the endoscopic imaging system as described in the first aspect, the method comprising:
[0021] Preset optical information of the endoscope; the optical information includes the normal light refractive index and the abnormal light refractive index of the sapphire crystal within the wavelength range of the light source;
[0022] Get the field of view angle of the objective lens end;
[0023] Calculating the Mueller matrix of the endoscope according to the field of view angle, the normal light refractive index and the extraordinary light refractive index;
[0024] The optical information of the endoscope is adjusted to obtain a target Mueller matrix of the endoscope, and the endoscope protection window is determined according to the target Mueller matrix.
[0025] In some embodiments, the calculating the Mueller matrix of the endoscope according to the field of view angle, the normal light refractive index and the extraordinary light refractive index comprises:
[0026] Determining a normal light propagation direction according to the field angle and the normal light refractive index;
[0027] Determining the abnormal light propagation direction according to the crystal axis direction of the sapphire crystal and the normal light propagation direction;
[0028] Determining the extraordinary light refractive index of the sapphire crystal according to the normal light propagation direction, the extraordinary light propagation direction and the crystal axis direction of the sapphire crystal;
[0029] Determining a target phase difference after the light enters the sapphire crystal according to the anomalous light refractive index;
[0030] The Mueller matrix of the endoscope is calculated according to the target phase difference and the polarization direction of the abnormal light.
[0031] In some embodiments, adjusting the optical information of the endoscope to obtain a target Mueller matrix of the endoscope includes:
[0032] The optical information of the endoscope is adjusted until at least one element value in the Mueller matrix of the endoscope reaches a preset target element value within the field of view, thereby obtaining a target Mueller matrix.
[0033] In a third aspect, an electronic device is provided in this embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for generating an endoscope protection window described in the second aspect is implemented.
[0034] In a fourth aspect, in this embodiment, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for generating an endoscope protection window described in the second aspect is implemented.
[0035] Compared with the related art, the anti-mirror reflection endoscope system and the method for generating the anti-mirror reflection endoscope provided in this embodiment are provided with an A-cut sapphire protection window and a linear polarizer at the objective end of the anti-mirror reflection endoscope, and a C-cut sapphire protection window and a linear polarization imaging unit at the eyepiece end, so that when light enters the anti-mirror reflection endoscope, it is polarized at the exit end (objective end) of the illumination channel and analyzed at the imaging channel (eyepiece end), thereby removing the mirror reflection in the imaging. At the same time, combined with the crystal axis direction setting of the sapphire protection window, the imaging quality in medical endoscopic imaging is improved.
[0036] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0038] Figure 1 is a schematic diagram of an anti-mirror reflection endoscopy system provided in an embodiment of the present application;
[0039] Figure 2 is a cross-sectional view of an anti-mirror reflection endoscope provided in an embodiment of the present application;
[0040] Figure 3a is a schematic diagram of the eyepiece end of an anti-mirror reflection endoscope in an embodiment of the present application;
[0041] Figure 3b is a schematic diagram of the eyepiece end of an anti-mirror reflection endoscope in an embodiment of the present application;
[0042] Figure 4 is a schematic structural diagram of a linear polarization imaging unit in an embodiment of the present application;
[0043] Figure 5 It is a hardware structure block diagram of a terminal of the anti-mirror reflection endoscope generation method according to an embodiment of the present application;
[0044] Figure 6 It is a flow chart of the method for generating an anti-mirror reflection endoscope according to an embodiment of the present application.
[0045] Figure numerals: 10, endoscope cold light source; 20, anti-mirror reflection endoscope; 21, housing; 22, imaging channel; 23, lighting channel; 24, A-cut sapphire protection window; 25, C-cut sapphire protection window; 26, linear polarizer; 30, relay lens; 40, linear polarization imaging unit; 50, image processing host; 102, processor; 104, memory; 106, transmission device; 108, input and output device. DETAILED DESCRIPTION
[0046] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0047] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with general skills in the technical field to which this application belongs. The words "one", "a", "the", "these" and the like in this application do not indicate a quantitative limitation, and they may be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone. Generally, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0048] The de-mirror reflection imaging method based on polarization gating uses polarized light to illuminate the imaging target, and uses a polarizer with the same or orthogonal polarization state as the illumination light to filter the polarization state of the incident light at the imaging end. The de-mirror reflection imaging method can effectively suppress the image overexposure problem caused by mirror reflection.
[0049] However, for existing endoscope products, polarization gating cannot be achieved due to their strong depolarization and uneven phase delay. In endoscopes, the source of these polarization characteristics is the sapphire window. Since the sapphire welding process allows the endoscope to withstand the standard sterilization process of high temperature and high pressure, sapphire encapsulated endoscopes have become the standard process for the manufacture of medical endoscopes. At the same time, due to the excellent biocompatibility of sapphire, sapphire has been used as a protective window for medical endoscopes.
[0050] Therefore, the present application provides an anti-mirror reflection endoscopy system. Figure 1 Schematic diagram of an anti-mirror reflection endoscopy system provided in an embodiment of the present application. Figure 1 The anti-mirror reflection endoscope system includes: an anti-mirror reflection endoscope 20, a linear polarization imaging unit 40 and a relay lens 30.
[0051] Specifically, the anti-mirror reflection endoscope 20 is provided with an illumination channel 23, an imaging channel 22 and a linear polarizer 26; the imaging channel 22 is coaxially disposed inside the illumination channel 23, and the linear polarizer 26 is disposed at the exit end of the illumination channel 23; the objective end and the eyepiece end of the anti-mirror reflection endoscope 20 are respectively provided with a first sapphire protection window and a second sapphire protection window; the crystal axis direction of the first sapphire protection window is perpendicular to the optical axis direction of the lens in the anti-mirror reflection endoscope 20; the transmission axis of the linear polarizer 26 is perpendicular to the transmission axis of the first sapphire protection window. The crystal axes of the protective windows are parallel, and the crystal axis of the second sapphire protective window is parallel to the optical axis of the imaging channel 22; the cutting directions of the first sapphire protective window and the second sapphire protective window are different; a linear polarization imaging unit 40, the linear polarization imaging unit 40 is arranged on the side of the anti-mirror reflection endoscope 20 close to the eyepiece end; the relay lens 30, the relay lens 30 is arranged between the eyepiece end of the anti-mirror reflection endoscope 20 and the linear polarization imaging unit 40, and is used to project the image of the anti-mirror reflection endoscope 20 to the linear polarization imaging unit 40.
[0052] The linear polarization imaging unit 40 may be a linear polarization camera; the objective end and the eyepiece end of the anti-mirror reflection endoscope 20 are respectively provided with a first sapphire protection window and a second sapphire protection window; and the crystal axis directions of the first sapphire protection window and the second sapphire protection window are respectively parallel to the optical axis of the imaging channel 22 and the vibration transmission axis of the linear polarizer 26. Exemplarily, the crystal axis direction of the sapphire window at the objective end of the anti-mirror reflection endoscope 20 is set to the A-cut direction, and the crystal axis direction of the sapphire window at the eyepiece end is set to the C-cut direction. Therefore, the first sapphire protection window may be set to the A-cut sapphire protection window 24, and the second sapphire protection window may be set to the C-cut sapphire protection window 25; in another embodiment, the first sapphire protection window is set to the C-cut sapphire protection window 25, and a C-cut positive uniaxial crystal compensation plate is set between the C-cut sapphire window and the linear polarizer 26. By respectively providing sapphire protection windows with different crystal axis directions at the eyepiece end and the objective end of the anti-mirror reflection endoscope, it is ensured that the endoscopic imaging system has a good polarization-maintaining property.
[0053] The A-cut sapphire protection window 24 is installed at the objective end of the imaging channel 22 and is fixedly connected to the housing 21 by welding. The C-cut sapphire protection window 25 is installed at the eyepiece end of the imaging channel 22 and is fixedly connected to the housing 21 by welding, and its crystal axis direction is parallel to the optical axis of the imaging channel 22. The linear polarizer 26 is installed between the exit end of the illumination channel 23 and the A-cut sapphire window, and its transmission axis is parallel to the crystal axis of the A-cut sapphire window.
[0054] In sapphire crystal, A-cut is usually cut along a specific axis of the crystal, while C-cut is cut along a different axis from A-cut. Due to the different cutting methods, the optical properties of A-cut and C-cut sapphire protective windows 25 will also be different. These differences may include refractive index, transmittance, dispersion, etc. The differences in these optical properties will directly affect the processing and display effects of the protective window on light.
[0055] In the above-mentioned endoscopic imaging system, the endoscope cold light source 10 is connected to the light entrance of the endoscope illumination channel 23 through the light-guiding optical fiber bundle, and illuminates the imaging target after being polarized at the exit end. The light returned from the imaging target enters from the objective end of the endoscope imaging channel 22, and is emitted from the eyepiece end, and is projected to the linear polarization imaging unit 40 by the relay lens 30. In the linear polarization imaging unit 40, the incident light is first polarized by the linear polarizer and then reaches the image sensor. The image sensor transmits the sensed data into the image processing host 50 to complete the imaging. By using the polarization gating method, polarization is performed at the exit end of the illumination channel 23 and polarization is performed in the imaging unit to achieve the removal of mirror reflection in the imaging. The anti-mirror reflection endoscope 20 in the system optimizes the crystal axis direction of the sapphire window to maintain polarization in the polarization direction of the illumination light, and then realizes the de-mirror reflection imaging based on the polarization gating method in this specific direction, thereby solving the problem of reduced imaging quality caused by mirror reflection that is widely present in medical endoscopic imaging.
[0056] In one embodiment, reference Figure 1 The linear polarization imaging unit 40 includes a linear polarizer; the linear polarizer is arranged on a side of the linear polarization imaging unit 40 close to the relay lens 30.
[0057] The linear polarization imaging unit 40 is a device that uses linear polarized light for imaging. It usually includes a linear polarizer (also called a polarizer) and an imaging device. By controlling the polarization direction, the linear polarizer can obtain information that a traditional imaging system cannot obtain, thereby improving the imaging quality and accuracy. For example, the linear polarizer can be a polarizer or a micro-polarizer array; the imaging device can be a camera or an image sensor; neither is limited here.
[0058] Further, the direction of the linear polarizer is arranged to be perpendicular to the direction of the polarizing linear polarizing plate 26 .
[0059] In one embodiment, reference Figure 1 The linear polarization imaging unit 40 further includes an image sensor, which is disposed at one end of the linear polarizer away from the anti-mirror reflection endoscope 20. The relay lens 30 projects the image formed by the anti-mirror reflection endoscope 20 onto the image sensor.
[0060] The incident light is first analyzed by a linear polarizer, and then the image is projected to the image sensor through the relay lens 30. Furthermore, the linear polarization imaging unit 40 can be a linear polarization camera, and the analysis of the target return light is achieved by the pixels in the polarization camera whose micro-polarizer direction is perpendicular to the polarization direction of the illumination light.
[0061] In one embodiment, Figure 2 is a cross-sectional view of an anti-mirror reflection endoscope 20 provided in an embodiment of the present application; Figure 2The anti-mirror reflection endoscope 20 also includes a housing 21 ; the housing 21 is coaxially arranged outside the lighting channel 23 .
[0062] Among them, since the existing endoscope products need to be packaged by a sapphire window, and the birefringence of sapphire will make the polarization gating method invalid, it is necessary to design an anti-mirror reflection endoscope 20 to realize an anti-mirror reflection endoscopic imaging system based on the polarization gating method. The anti-mirror reflection endoscope 20 includes a housing 21, an imaging channel 22, an illumination channel 23, an A-cut sapphire protection window 24, a C-cut sapphire protection window 25, and a linear polarizer 26. One end of the housing 21 away from the linear polarization imaging unit 40 is packaged by the A-cut sapphire protection window 24.
[0063] refer to Figure 1 The endoscopic imaging system also includes an endoscope cold light source 10; the endoscope cold light source 10 is connected to the light inlet of the anti-mirror reflection endoscope 20 through a light-guiding optical fiber bundle.
[0064] Among them, the endoscope cold light source 10 is a light source device used for medical endoscope examination, which adopts LED (Light Emitting Diode) cold light source technology. Compared with traditional thermal light sources, cold light sources have the advantages of low heat output, long service life, high fiber quality and adjustment flexibility. By using the endoscope cold light source 10 and connecting the endoscope cold light source 10 to the light inlet of the anti-mirror reflection endoscope 20 through a light guide fiber bundle, it is ensured that the light emitted by the light source can be efficiently and accurately transmitted to the endoscope to provide a clear and bright field of view, which is conducive to improving the subsequent imaging quality.
[0065] refer to Figure 1 The endoscopic imaging system further includes an image processing host 50 ; the image processing host 50 is electrically connected to the linear polarization imaging unit 40 .
[0066] In one embodiment, the sapphire protection window at the end of the endoscope objective lens is set as a C-cut sapphire protection window 25, and a C-cut positive uniaxial crystal compensation plate, such as magnesium fluoride, quartz flat crystal, etc., is set between the sapphire window and the linear polarizer 26.
[0067] Figure 3a is a schematic diagram of the eyepiece end of the anti-mirror reflection endoscope 20 in an embodiment of the present application; Figure 3b Schematic diagram of the eyepiece end of the anti-mirror reflection endoscope 20 in the embodiment of the present application; Figure 3a and 3b, an A-cut sapphire protection window 24 is arranged at the end of the endoscope objective lens, and a C-cut sapphire protection window 25 is arranged at the eyepiece end of the imaging channel 22. A linear polarizer 26 is arranged between the exit end of the illumination channel 23 and the A-cut sapphire protection window 24. The imaging channel 22 is coaxially arranged in the housing 21 including the illumination channel 23. By using the polarization gating method, polarization is performed at the exit end of the illumination channel 23, and polarization is performed in the imaging unit, so as to remove the mirror reflection in the imaging, which is beneficial to improve the quality of the imaging.
[0068] Figure 4 is a schematic diagram of the structure of the linear polarization imaging unit 40 in an embodiment of the present application. Figure 4 The linear polarization imaging unit 40 may be a linear polarization camera, and the polarization of the target return light is realized by the pixel in the polarization camera whose micropolarizer direction is perpendicular to the polarization direction of the illumination light. Exemplarily, the linear polarizer is a micropolarizer array, and the micropolarizer array is aligned with the image sensor pixel by pixel. Four directions are included in one pixel unit period and arranged in a 2×2 form, and the pixel directions of other pixel units in the micropolarizer array are set in the same manner as those in this pixel unit.
[0069] In some other embodiments, the linear polarization unit is composed of a linear polarizer 26 and an industrial camera. The linear polarizer 26 is perpendicular to the polarization direction of the illumination light and is disposed between the relay lens 30 and the industrial camera.
[0070] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 5 FIG. 1 is a hardware structure block diagram of a terminal of the method for generating an anti-mirror reflection endoscope according to an embodiment of the present application. Figure 1 As shown, the terminal may include one or more ( Figure 5 Only one is shown in the figure) a processor 102 and a memory 104 for storing data, wherein the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 5 More or fewer components as shown, or with Figure 5 Different configurations shown.
[0071] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the endoscope protection window generation method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0072] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0073] In this embodiment, a method for generating an anti-mirror reflection endoscope is provided, which is used to generate a sapphire protective window in the above-mentioned endoscopic imaging system. Figure 6 is a flow chart of a method for generating an anti-mirror reflection endoscope according to an embodiment of the present application. Figure 6 As shown, the process includes the following steps:
[0074] Step S610, presetting the optical information of the endoscope; the optical information includes the normal light refractive index and the abnormal light refractive index of the sapphire crystal within the wavelength range of the light source.
[0075] Among them, the optical information of the endoscope is first preset; illustratively, the optical information includes: the thickness of the protective window, the field of view of the entrance pupil and exit pupil, the wavelength range of the light source, and the refractive index of the sapphire crystal to normal light and abnormal light within the wavelength range, etc.
[0076] Step S620, obtaining the field of view angle of the objective lens end.
[0077] Among them, the angle of the light incident on the two sapphire windows at each point in the field of view is determined by the ray tracing method.
[0078] Step S630, calculating the Mueller matrix of the endoscope according to the field of view angle, the normal light refractive index and the extraordinary light refractive index.
[0079] Step S640, adjusting the optical information of the endoscope to obtain the target Mueller matrix of the endoscope, and determining the endoscope protection window according to the target Mueller matrix.
[0080] Among them, after calculating the Mueller matrix of each point in the endoscope field of view, the Mueller matrix of the endoscope is optimized by adjusting the direction of the endoscope sapphire crystal axis, the thickness of the sapphire window, the field angle, the illumination light spectrum, inserting a birefringence compensation plate, etc. so that at least one element in the 3×3 matrix in the lower right corner is close to 1 and evenly distributed in the entire field of view. Exemplarily, a mean greater than 0.95 is determined to be the optimal mean.
[0081] Through the above steps, after obtaining the target Mueller matrix in the field of view of the anti-mirror reflection endoscope, the target Mueller matrix is used to ensure that the A-cut sapphire is polarized in the direction parallel / perpendicular to the crystal axis. The A-cut sapphire is used as a sapphire protection window in the anti-mirror reflection endoscope system, which is conducive to removing the mirror reflection in the subsequent imaging, thereby solving the problem of reduced imaging quality caused by the mirror reflection that is widely present in medical endoscope imaging.
[0082] In some of the embodiments, in step S630, the Mueller matrix of the endoscope is calculated according to the field of view angle, the normal light refractive index and the extraordinary light refractive index, including steps S631 to S635.
[0083] Step S631, determining the normal light propagation direction according to the field angle and the normal light refractive index.
[0084] Specifically, determine the wavelength range of the light source and the normal light refractive index of the sapphire crystal within the wavelength range of the light source. Anomalous refractive index According to the ray tracing, the direction vector of the light incident on the sapphire window , and then calculate the propagation direction vector of normal light according to Snell's formula , the formula for calculating the propagation direction vector of normal light is as follows:
[0085]
[0086] in, , n represents the relative refractive index of the sapphire protective window, Indicates the normal light refractive index of the sapphire protective window. Represents the incident sapphire window direction vector.
[0087] Step S632, determining the abnormal light propagation direction according to the crystal axis direction of the sapphire crystal and the normal light propagation direction.
[0088] Among them, the calculation of the anomalous light propagation direction vector The formula is as follows:
[0089]
[0090] in, is the crystal axis direction vector of the sapphire window, represents the normal refractive index, represents the extraordinary refractive index, , , , , and N represent intermediate calculated values.
[0091] Step S633, determining the extraordinary light refractive index of the sapphire crystal according to the normal light propagation direction, the extraordinary light propagation direction and the crystal axis direction of the sapphire crystal.
[0092] Specifically, according to the propagation direction of normal light and abnormal light, combined with the crystal axis direction of the sapphire window, the refractive index of the sapphire protection window for abnormal light propagating at any angle is calculated using the refractive index ellipsoid. , the formula is as follows:
[0093]
[0094] Among them, θ is the angle between the propagation direction of the anomalous light in sapphire and the direction of the sapphire crystal axis, represents the normal refractive index, Represents the extraordinary refractive index.
[0095] Step S634, determining the target phase difference after the light enters the sapphire crystal according to the extraordinary light refractive index.
[0096] Specifically, the formula for calculating the phase difference between normal light and abnormal light after the light passes through the sapphire window is as follows:
[0097]
[0098] Where δ is the phase difference between normal light and abnormal light, h is the thickness of the sapphire window, and λ is the wavelength of the light. Indicates the propagation direction of normal light and extraordinary light.
[0099] Step S635, calculating the Mueller matrix of the endoscope according to the target phase difference and the polarization direction of the abnormal light.
[0100] Specifically, after obtaining the phase difference between the normal light and the extraordinary light after the light passes through the two sapphire windows, and determining that the polarization direction of the extraordinary light is the fast axis direction, the Mueller matrix M of any point in the field of view can be obtained, where the direction of the light vector with the fastest propagation speed in the wave plate is the fast axis. The formula of the Mueller matrix is as follows:
[0101]
[0102] Among them, δ is the phase difference between the normal light and the extraordinary light, and ψ is the polarization direction of the extraordinary light.
[0103] In some of the embodiments, adjusting the optical information of the endoscope to obtain a target Mueller matrix of the endoscope includes: adjusting the optical information of the endoscope until at least one element value in the Mueller matrix of the endoscope reaches a preset target element value within the field of view, thereby obtaining the target Mueller matrix.
[0104] Specifically, the integral of the Mueller matrix on the spectrum is calculated based on the light intensity density function IDF(λ) of the light source spectrum: , the formula is as follows:
[0105]
[0106] Where M represents the Mueller matrix at any point in the field of view. The Mueller matrix is used in optics and polarization optics to describe the change in polarization state of light when it passes through a medium. Calculating the integral of the Mueller matrix over the spectrum can obtain a comprehensive assessment of polarization changes, thereby providing a more comprehensive understanding of the impact of the endoscopic imaging system on the polarization state of light, thereby improving the accuracy and reliability of imaging, and further improving the accuracy of medical diagnosis.
[0107] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a group of computer executable instructions.
[0108] In this embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0109] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0110] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0111] S1, preset optical information of the endoscope; the optical information includes the normal light refractive index and the abnormal light refractive index of the sapphire crystal within the wavelength range of the light source.
[0112] S2, obtain the field of view angle of the objective lens end.
[0113] S3, calculate the Mueller matrix of the endoscope according to the field of view angle, the normal light refractive index and the extraordinary light refractive index.
[0114] S4, adjusting the optical information of the endoscope to obtain the target Mueller matrix of the endoscope, and determining the protection window of the anti-specular reflection endoscope according to the target Mueller matrix.
[0115] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0116] In addition, in combination with the anti-mirror reflection endoscope generation method provided in the above embodiments, a storage medium can also be provided in this embodiment to implement the method. The storage medium stores a computer program; when the computer program is executed by a processor, any one of the anti-mirror reflection endoscope generation methods in the above embodiments is implemented.
[0117] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.
[0118] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.
[0119] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.
[0120] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. An anti-mirror reflection endoscopy system, characterized in that: The system comprises: An anti-mirror reflection endoscope, wherein an illumination channel, an imaging channel and a linear polarizer are arranged in the anti-mirror reflection endoscope; the imaging channel is coaxially arranged inside the illumination channel, and the linear polarizer is arranged at the exit end of the illumination channel; the objective end and the eyepiece end of the anti-mirror reflection endoscope are respectively provided with a first sapphire protection window and a second sapphire protection window; the transmission axis of the linear polarizer is parallel to the crystal axis of the first sapphire protection window, and the crystal axis of the second sapphire protection window is parallel to the optical axis of the imaging channel; the first sapphire protection window and the second sapphire protection window have different cutting directions; A linear polarization imaging unit, wherein the linear polarization imaging unit is arranged on a side of the anti-mirror reflection endoscope close to the eyepiece end; A relay lens is disposed between the eyepiece end of the anti-mirror reflection endoscope and the linear polarization imaging unit, and is used to project the image formed by the anti-mirror reflection endoscope onto the linear polarization imaging unit.
2. The anti-mirror reflection endoscopy system according to claim 1, characterized in that: The anti-mirror reflection endoscope also includes a housing; the housing is coaxially arranged outside the lighting channel.
3. The anti-mirror reflection endoscopy system according to claim 1, characterized in that: The linear polarization imaging unit comprises a linear polarizer; The linear polarizer is arranged on a side of the linear polarization imaging unit close to the relay lens.
4. The anti-mirror reflection endoscopy system according to claim 3, characterized in that: The linear polarization imaging unit also includes an image sensor; The image sensor is disposed at an end of the linear polarizer away from the anti-specular reflection endoscope.
5. The anti-mirror reflection endoscopy system according to claim 4, characterized in that: The relay lens projects the image formed by the anti-mirror reflection endoscope onto the image sensor.
6. The anti-mirror reflection endoscopy system according to claim 1, characterized in that: The system also includes an endoscope cold light source; The endoscope cold light source is connected to the light inlet of the anti-mirror reflection endoscope through a light-guiding optical fiber bundle.
7. The anti-mirror reflection endoscopy system according to claim 1, characterized in that: The system also includes an image processing host; The image processing host is electrically connected to the linear polarization imaging unit.
8. A method for producing an anti-mirror reflection endoscope, used for producing a sapphire protective window in an endoscope system as claimed in any one of claims 1 to 7, characterized in that: The method comprises: Preset optical information of the endoscope; the optical information includes the normal light refractive index and the abnormal light refractive index of the sapphire crystal within the wavelength range of the light source; Get the field of view angle of the objective lens end; Calculating the Mueller matrix of the endoscope according to the field of view angle, the normal light refractive index and the extraordinary light refractive index; The optical information of the endoscope is adjusted to obtain a target Mueller matrix of the endoscope, and a protective window of the anti-specular reflection endoscope is determined according to the target Mueller matrix.
9. The method for generating an anti-mirror reflection endoscope according to claim 8, characterized in that: The step of calculating the Mueller matrix of the endoscope according to the field of view angle, the normal light refractive index and the extraordinary light refractive index comprises: Determining a normal light propagation direction according to the field angle and the normal light refractive index; Determining the abnormal light propagation direction according to the crystal axis direction of the sapphire crystal and the normal light propagation direction; Determining the extraordinary light refractive index of the sapphire crystal according to the normal light propagation direction, the extraordinary light propagation direction and the crystal axis direction of the sapphire crystal; Determining a target phase difference after the light enters the sapphire crystal according to the anomalous light refractive index; The Mueller matrix of the endoscope is calculated according to the target phase difference and the polarization direction of the abnormal light.
10. The method for generating an anti-specular reflection endoscope according to claim 8, characterized in that: The step of adjusting the optical information of the endoscope to obtain a target Mueller matrix of the endoscope includes: The optical information of the endoscope is adjusted until at least one element value in the Mueller matrix of the endoscope reaches a preset target element value within the field of view, thereby obtaining a target Mueller matrix.
