Endoscopic system and method for imaging objects
The imaging device rapidly switches between image settings to capture user-friendly 2D data and depth-enhancing data within a single endoscopic system, addressing limitations of conventional endoscopic imaging by enabling accurate 3D reconstruction and maintaining user workflow.
Patent Information
- Application Number
- JP2026524789
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-25
- Filing Date
- 2024-10-25
- Publication Date
- 2026-11-24
AI Technical Summary
Conventional endoscopic imaging systems struggle with limited imaging capabilities, particularly in producing 2D images, and face challenges in achieving 3D reconstruction and higher precision, especially in medical applications where more complex object information is required, often necessitating larger and more complex systems.
An imaging device that rapidly switches between different image settings to capture first image data for optimal user observation and second image data for depth map generation, using a single system without additional optical paths or sensors, allowing for real-time 3D reconstruction with high accuracy and reduced size.
Enables real-time 3D reconstruction with high accuracy and precision, maintaining user workflow continuity while minimizing system size and cost, without the need for complex stereo optics or multiple sensors.
Smart Images

Figure 2026539302000001_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Incorporation by Reference of Priority Applications Any and all applications for which a foreign or domestic priority claim is identified in the Application Data Sheet as filed with the present application are hereby incorporated by reference under 37 CFR 1.57. For example, this application claims priority from European Patent Application No. 23205911, filed on October 25, 2023, and titled "IMAGING DEVICE, ENDOSCOPE, SYSTEM AND METHOD FOR IMAGING AN OBJECT", the entire content of which is hereby incorporated by reference in its entirety and forms part of this specification for all purposes.
[0002] The general field of this disclosure relates to imaging devices, endoscopes, systems, and methods for imaging an object. BACKGROUND ART
[0003] Imaging devices may be incorporated into laparoscopes, endoscopes, or microscopes used as videoscopes, often also called videoscopes or video probes, to examine objects such as internal organs or other types of objects that are difficult to access, such as objects inside machines. Because endoscopes are slim devices with little internal space, it can be difficult to place an imaging system inside them. This problem is solved in conventional endoscopic systems by mounting an image sensor on the objective lens or near the eyepiece of the endoscope to acquire an image of the object being examined. However, such systems often have limited imaging capabilities, producing basic 2D images. In many situations, such as certain medical applications, it is often desirable to perform imaging of more complex objects than conventional endoscopes can, such as imaging that facilitates 3D reconstruction of the object being examined. Therefore, incorporating an imaging system into medical devices such as endoscopes becomes even more complex when more information is required about the object being examined than is available in 2D imaging. Furthermore, there is a growing need for smaller systems and higher precision, for example, due to the increasing use of robots in handling such devices. [Overview of the Initiative]
[0004] Preferably, some embodiments of imaging devices and systems disclosed herein capture video data to display the image to a viewer in real time, while simultaneously creating supplemental video data, particularly for depth map calculation. This supplemental image is separated from the main video data because it is of poor quality and unsuitable for observation. In some embodiments, the main video data is combined with the depth map and converted into a stereo image for display to a viewer.
[0005] In some embodiments, computation and optimization tasks occur in the background and do not necessarily disrupt the viewer experience, so the device or system combines the accuracy of all different depth mapping techniques, such as AI, depth from focus / defocus, and depth from shading / reflection, into a single system without affecting the quality of the image sent to the viewer.
[0006] This specification discloses imaging devices, systems, and methods for imaging objects. Some embodiments of imaging devices, systems, and methods for imaging objects can provide real-time 3D reconstruction with high accuracy, simultaneously, in a smaller size, and at a lower cost, without interfering with the work of the users of the systems and methods described herein.
[0007] Various embodiments of the systems, methods, and devices within the appended claims each have several aspects, and not just one of these aspects alone relates to the desirable attributes described herein. Without limiting the scope of the appended claims, several notable features are described herein.
[0008] According to at least one aspect of the devices, systems, and methods disclosed herein, an imaging device for generating imaging data of an object may include an image controller configured to control an image sensor to acquire imaging data of the object using a plurality of settings. For example, the image controller may cause the image sensor to capture first image data of an object having at least one first image setting and second image data having at least one second image setting. The first(or more) image settings and the second(or more) image settings are different from each other. The image settings may include, but are not limited to, settings relating to how the image is captured, such as depth of field, sharpness, and / or iris adjustment of the imaging system. The iris adjusts the brightness of the image. The same brightness effect can also be achieved by adjusting the image exposure and light intensity.
[0009] Preferably, some embodiments of the image controller may be configured to switch between image settings, such as between a first image setting and a second image setting. This switching may be completed quickly, for example, in less than 100 ms. This rapid switching preferably allows the system to present the user of the device with first image data, for example, during live observation of an object, while simultaneously collecting imaging information for more complex imaging, such as that required for a depth map or 3D reconstruction of the object, as second image data. The imaging device may further include a data processor configured to receive at least one of the first or second image data and transfer the image data to a 3D engine to generate a depth map of the object based on the image data.
[0010] Preferably, some embodiments of the image controller may be configured to cause the image sensor to acquire first and second image data using different image acquisition settings. For example, the first image data may be used to depict an object so that the user can observe it optimally during use of the system. In some embodiments, the first image data may be visualized for the user to handle the imaging device or any other device operating in conjunction with the imaging device. The first image data may have focus, sharpness, and / or iris adjusted to the user's needs, as necessary to display an optimal image with optimal sharpness and brightness in the target area to the viewer.
[0011] On the other hand, in some embodiments, the second image data may be used to generate additional supplementary information to improve the accuracy of the depth map and does not necessarily have to be optimized for the user's observation needs. Depth information may be generated using the first image data optimized for the user's observation needs, but it should be noted that this type of imaging data is not necessarily accurate enough for the requirements of low-tolerance applications such as surgery. For example, a user observing a surgical site may want to keep most of the imaging area (or the entire image) in focus. However, if the image data has varying degrees of focus or is slightly out of focus, more information can be obtained for depth estimation. Since such image data may not be suboptimal for direct viewing by the user, the second image data may not be presented directly to the user. However, if the second image data is presented to the user, it may be for a very short or limited period so as not to confuse the user.
[0012] Generally, live image display and the determination of a depth map of an object may require different image settings. The image controller may be configured to change the image settings quickly (e.g., in less than 100 ms) so that user-based visualization of the object (which may be based on first image data) is not hindered. In other words, second image data (which may be used for generating a depth map or other visualizations of the object) can be acquired during the normal working process of the imaging system, and the user is guided through images representing the object (e.g., based on first image data) without realizing that the image settings have changed. In other words, in some embodiments, the image settings are changed quickly enough that the user may not notice it.
[0013] Therefore, in some embodiments of the devices, systems, and methods disclosed herein that collect both live observation data and 3D imaging data, the overall size of the imaging system may be reduced. In particular, the collection of the two types of data may be completed without requiring a second optical path, prisms, multiple sensors, etc.
[0014] In some embodiments, both first and second image data can be used for depth estimation. The image sensor and optical system can be pre-calibrated to determine the focal plane distance, optical aberrations, and distortions. The speed at which settings for image acquisition, such as the focal length and / or aperture settings of the imaging system, are changed may be predetermined, automated, selected, and / or modified based on other conditions.
[0015] According to one aspect of the present invention, an imaging device is provided for generating imaging data of an object. The imaging device may include an image controller engine (also called an image controller) configured to control an image sensor to acquire first image data of an object having a first image setting and second image data of an object having a second image setting, wherein the first and second image settings are different from each other, and the image controller engine is further configured to switch between the first and second image settings in less than 100 ms. The imaging device may further include a data processor configured to receive the first and second image data and transfer the image data to a 3D engine. The 3D engine may be configured to generate a depth map of the object based on the image data.
[0016] In contrast to available conventional technologies, the image controller is configured to cause the image sensor to acquire first and second image data having different image settings. Thus, the first image data may be used to depict an object. The first image settings for the first image data may be intended for optimal observation by the user. For example, the first image data may be visualized for a user handling the imaging device or any other device operating in conjunction with the imaging device. The first image data may have focus, sharpness, and / or iris that are adjusted according to the user's needs. The second image data, on the other hand, may be used to generate additional supplementary information to improve the accuracy of the depth map. The second image data does not have to be depicted directly for the user. If it is depicted, it may be for a very short time so as not to confuse the user. In particular, depth information may be generated by using the first image data, but this is not accurate enough as required in surgery, especially when the entire image is in focus and there are no known objects included in the first image data (e.g., instruments). If the image data has varying degrees of focus or the image data is slightly out of focus, more information can be obtained for depth estimation. However, such image data is not suboptimal for the user. Generally, different image settings may be required for pure display of an image and for determining the depth map of an object. The image controller is configured to change the image settings in less than 100ms so that the normal visualization of the object (i.e., based on the first image data) is not interrupted. In other words, the second image data (i.e., the image data involved in the depth map) can be acquired during the normal work process in which the user is guided through the image representing the object (i.e., based on the first image data) without noticing that the image settings have changed. In other words, the image settings are changed so quickly that the user does not notice. In this way, the device can be minimized because there is no second optical path, prism, multiple sensors, etc. required to acquire both the first and second image data. Both the first and second image data can be used for depth estimation along with their respective settings.The image sensor and optical system are pre-calibrated to determine the focal plane distance, optical aberrations, and distortion. The speed at which settings are changed is also known, as is the impact on the image during this process.
[0017] A further aspect of this disclosure provides an imaging device for generating imaging data of an object. The imaging device is The system may also include an image control engine configured to control at least one image sensor to acquire first image data of an object having a first image setting and second image data of an object having a second image setting. The first image settings and the second image settings are different from each other. The system may also include a data processor configured to receive first image data and second image data and transfer the image data to a 3D engine. The 3D engine is configured to generate at least one depth map of an object based on image data.
[0018] Depending on the circumstances, the imaging device may comprise two or more sensors (e.g., image sensors). In particular, the sensors may be configured to use different types of light to depict an object. A first sensor may be configured to use visible light to generate first image data. A second sensor may be configured to use visible light or near-infrared light (NIR) to generate second image data. The first and second sensors may be arranged to receive light (e.g., reflected light) from an object to be depicted through the same (e.g., and single) optical path. In one embodiment, a liquid lens (see below) is provided in the optical path. A prism may be used to switch the light between the first and second sensors. Thus, the imaging device may include a prism configured to direct the light received from the optical path to two or more sensors. The sensors may be arranged so as to be oriented perpendicular to each other. In this way, the imaging device can be compact. The imaging device may have an optical input configured to receive light from an external light source. The optical input may be the optical input of the imaging device only. The optical input may be configured to receive visible light and / or NIR. Therefore, only one optical input is required. This optical input may be connected to an optical path that guides light to the tip of the endoscope (more details will be provided later).
[0019] At least one image sensor may be configured to generate an image stream (raw data). This image stream may then be transferred to an image control engine. The image control engine may be configured to extract first image data and second image data from the image stream. In other words, the image stream may be a kind of video stream from which the first image data and second image data can be extracted. This allows the inspection to continue without interruption (for example, due to the acquisition of the second image data).
[0020] Generally, when a stereo endoscope is used for imaging, rotating the endoscope is extremely difficult. When such an endoscope is rotated, both image channels rotate around the axis. This is because the human brain can only process images when the two images are horizontal. Also, stereo optical systems are far more complex and expensive to manufacture. Stereo optics provide 3D visualization but do not provide depth maps. Creating accurate depth maps from stereo optics is complex due to optical aberrations, etc. According to one embodiment of the present disclosure, a stereoscopic system is provided consisting of two independent but closely spaced image paths (i.e., optical paths). One image path / first sensor is used to collect first image data, and a second image path / second sensor is used to collect second image data. Such a system would overcome the limitations of lack of texture in current stereoscopic systems. This would also allow the stereoscopic imaging system to be rotated. Current hardware-based 3D imaging systems cannot be fully rotated because the human brain can primarily process horizontal parallax. If the two channels deviate significantly from the horizon, the brain becomes confused, and the user has to tilt their head. If the two channels are close together, most of the features of both channels will be the same. Feature mapping can be used to match the two images and generate depth information. Since the distance between the two sensors is known, a correction factor can be applied to account for shift. The two optical imaging channels may have different diameters. The channel used to collect the first image data may be larger to obtain a higher quality image for display to the user. The channel used to acquire image data 2 may be smaller or have a lower resolution. The first image path may be configured to transfer only the first image data. The second image path may be configured to transfer only the second image data. Thus, in the first image path, only visible light may be used by the first image sensor to generate the first image data. Furthermore, in the second image path, only NIR light may be used by the second image sensor to generate the second image data.
[0021] In some cases, two or more image sensors may be used for imaging. In other words, the imaging device may be equipped with at least two image sensors (e.g., a first image sensor and a second image sensor). In this case, one of the image sensors may be considered the primary image sensor for producing the first image data. Basically, the image sensor that has settings according to user needs or for display to the user becomes the primary image sensor, and the image data from that sensor is considered the first image data. The other sensors are used to generate data for depth estimation. This may be done continuously. The other sensor (i.e., the second sensor) may be for NIR light or for visible light. The second sensor may be focus-shifted. Also, the second sensor may obtain only a small portion of the light, such as 10% of the visible light or the entire wavelength band of a particular spectrum. Having a second sensor in NIR provides more advantages, as it allows for dynamic manipulation of NIR light without affecting the visible light image shown to the user on a 2D / 3D display. In some cases, four sensors may be provided. Some sensors may be configured to acquire image data based on RGB and / or NIR. Furthermore, a liquid lens may be provided to change the image settings. An RGB-based sensor (e.g., a first image sensor) may change its image settings twice per second (e.g., focus shift). One depth map may be generated from the RGB image. A second depth map may be continuously generated from an NIR image coming from an NIR sensor (e.g., a second image sensor). The NIR sensor acquisition parameters may be continuously modified to maintain an image optimized for depth inference. The NIR image (i.e., the second image data) may not be displayed. In other words, the second image data may be used only for depth map generation or primarily for depth map generation. The two depth maps (from the RGB and NIR images) may be fused to obtain a final depth map with higher accuracy.
[0022] In another embodiment, a predicted depth map may be generated. The predicted depth map may be fused with the NIR image by using an artificial neural network comprising: an encoder portion that extracts features from both the predicted depth map and the NIR image; a fusion portion that fuses features from both images (predicted depth map and NIR image) by taking a weighted combination of features (a neural network or an intermediate layer of the encoder) to preserve detail from the overall luminance of the predicted depth map and the corresponding NIR image patch; and a decoder portion that generates a final depth map based on the fusion of features (or an intermediate layer of the neural network or encoder). The neural network may be a convolutional neural network, a generative adversarial network, a Transformer, a stable diffusion, or any other network consisting of an encoder or embedding and a decoder. This may be carried out with a similar neural style transformation algorithm, but is not limited to this particular algorithm. Instead of using an NIR image, a white light image may be captured so that the luminance values provide a strong cue for distance or depth. The fusion may also be performed in the frequency domain by first performing a Fourier transform of the depth map and the NIR image optimized for depth cues. In one embodiment, high-frequency components are obtained from the depth map and low-frequency components from the NIR image to generate the final depth map. Thus, minute details in the final depth map are derived from one algorithm, while the overall depth is derived from the depth-optimized NIR image.
[0023] According to one aspect of this disclosure, a depth map is derived from the degree of focus or blur in image data. When an object is out of focus, it may be either in front of or behind the image plane. This can be inferred from prior knowledge of the scene. In surgical situations, prior knowledge may not be available due to indistinguishable objects or dynamic scenes. Furthermore, in surgical applications, the generated depth map needs to be accurate to within a few millimeters. Conventional surgical optics systems are designed for high depth of field. This limits the possibility of generating depth maps with the required accuracy. Inaccuracies in depth maps can endanger patients.
[0024] Generally, a feed of image data acquired during surgery (e.g., a video feed) consists of several frames per second. Frame rates of 50 or 60 may be used. The human eye generally cannot distinguish if one or more of these frames are skipped, missing, or slightly modified, such as by reduced resolution or different focus. Imaging devices can rapidly change image settings, and image sensors can acquire image data without user knowledge or disruption to the user's workflow. Therefore, the acquisition of second image data can be performed in the background. As a result, the user is unaware of this process. The second image data can then be used to generate depth information using a similar method as described in European Patent Application Publication No. 4000494, which is incorporated herein by reference. More specifically, the imaging device may be able to take multiple snapshots of the area under observation at different focal points. Such snapshots may be combined with the live video feed to accurately determine the depth map. The image data acquired for depth determination may or may not be shown to the user. As a result, more accurate 3D reconstruction of the observed area (e.g., an object) can be achieved without disrupting the user's workflow. This allows the user to continue working as usual while still having good accuracy in the 3D reconstruction.
[0025] The imaging device may be a device usable with an imaging system. For example, the imaging device may be arranged inside a camera head of an endoscope or at the tip of an endoscope. A camera may also be attached to the imaging device. The imaging device may also be arranged inside or on a surgical microscope. The imaging device may be attached independently to a microscope or to a beam splitter, in order to allow a user to view an image through optical elements. When used in a binocular microscope, the imaging device may be attached to one or both beam paths. The imaging device may be applied in the surgical field. In particular, use of the imaging device improves procedures performed using minimally invasive techniques such as laparoscopic surgery. However, procedures may also be performed using microscopy or open surgery. The imaging device may be used for open surgery. In such cases, the image sensor may be attached to a holder and targeted to a surgical site. The imaging device may also be applied very advantageously to robot-assisted surgery. A depth map (i.e., 3D reconstruction) may help a robotic arm move with greater precision to avoid unintended damage.
[0026] The image controller may be a means for controlling other devices or apparatus. The image controller may be hardware, software, or both. The image controller may be configured to output commands to the image sensor regarding when and how image data should be acquired. The commands may indicate when the image data should be acquired and under what image settings the image data should be acquired. In other words, the image controller may output commands indicating when to acquire first image data and when to acquire second image data. In particular, the image controller may output commands indicating the image settings under which the second image data should be acquired, for example, how to change the focus relative to the first image data. The commands may further indicate the timing and / or amount of image data to be acquired. The image controller may communicate with the image sensor. The image controller may be configured to control optical and / or mechanical systems (optomechanics), such as liquid lenses, iris adjustment and / or piezoelectric adjustment systems.
[0027] Image sensors are sometimes called photosensors or sensor chips. In some cases, the minimum resolution of an image sensor is 1080 × 1920 pixels. The image sensor may also be a complementary metal-oxide-semiconductor (CMOS) sensor, also known as a complementary symmetric metal-oxide-semiconductor (COS-MOS) sensor. Furthermore, the image sensor may also be a charge-coupled device (CCD) sensor. When a CMOS sensor is used, the image data may be a voltage signal output by the image sensor. In some cases, each pixel of the image sensor may have a specific voltage signal. That is, the CMOS sensor may output a digital signal. When a CCD sensor is used, the image data may be a charge signal. Because voltage signals are less susceptible to degradation by electromagnetic fields, CMOS sensors are sometimes used as image sensors. The image sensor may also be indium gallium arsenide (InGaAs) for short-wave infrared imaging. Indium gallium arsenide (InGaAs) (or indium gallium arsenide, GaInAs) is a ternary alloy (compound) of indium arsenide (InAs) and gallium arsenide (GaAs).
[0028] The image data may be output from an image sensor. Furthermore, the image data may include luminance information in one or more color channels. A color channel may represent a specific light spectrum. For example, the image data may include information of a green channel, RGB color channels, and / or an IR (infrared) color channel. The RGB color channels are considered to include a green channel, a red channel, and a blue channel. Furthermore, the image sensor may provide image data including information of different color channels. For example, the color channels of the image sensor may be NIR-NIR, RGB-RGB, green-green, NIR-RGB, green-NIR, green-RGB. In this case, each color channel may be defined by a different wavelength band. For further processing of the image data, the imaging device may include a data processor, or may be connected or connectable to a processing unit (e.g., a computer) or a control unit. The data processor may be configured to further process the image data. For example, the data processor may determine information contained in the image data, such as a histogram representing a luminance distribution. The data processor may be configured to improve the acquired image data by applying noise reduction and / or sharpness enhancement algorithms. The data processor may also enhance the dynamic range of the image data to make the image data more suitable for analysis and / or observation. Furthermore, the image data may include an image or photograph depicting an object. To cope with poor light conditions, the imaging device may have a light source configured to illuminate the object to be imaged. For example, the imaging device may be connectable to an external light source, or may be configured to control a light source. More specifically, the light source may be combined with an additional waveguide configured to guide light from the light source to the object to be imaged.
[0029] Image settings may indicate boundary conditions for acquiring image data; that is, image settings may affect the image data. Image settings may be set by an image sensor and / or other devices. Image settings may include aperture, depth of field, light, shutter speed, and / or focal length. Image settings may indicate one or more of the above characteristics. Image data may be modified in accordance with changes in image settings. Switching of image settings may occur when at least one condition defined by the image settings changes. In this way, the second image data may be used to improve depth maps and / or 3D reconstructions. For example, if the first image data has a different focus (i.e., a different focal plane) than the second image data, then the first image settings are different from the second image settings.
[0030] The process of switching between the first and second image settings may also be a process of changing at least one of the boundary conditions involved in the image data. That is, the switch may be completed when the image setting is switched from the first condition (e.g., the condition under which the first image setting is implemented) to the second condition (e.g., the condition under which the second image setting is implemented). Image data may be acquired under both the first and second conditions. The switch can be performed in less than 100ms. By performing the above image setting (e.g., focus) switch, the focus may be changed in less than 100ms, one or more frames may be captured (e.g., second image data), and the focus may be returned to the original focus. All of this may occur in less than 300ms at most. This sequence of changing the image setting, capturing image data, and switching the focus back to the original image setting may be called capture sequence B (e.g., second sequence). Since this sequence B occurs in a very short time, the user can work without affecting the workflow. Image data that does not have the first image setting may be called image B (second image data). A sequence B may contain image data with a different second image setting (e.g., focal length). Image data taken with the first image setting may be called sequence A (first sequence). For example, a liquid lens may change the image setting (e.g., focal length) very quickly. Alternatively or additionally, a piezoelectric drive may also change the image setting very quickly and maintain high accuracy by operating very quickly over a short distance. Therefore, a piezoelectric drive may be implemented to change the image setting. Such a means may allow the target focus to be set in 20 ms (e.g., second image setting), the image data (second image data) to be captured in 20 ms, and the focus to be reset to the original focus in 20 ms (e.g., first image setting). Therefore, the entire process may, in some cases, occur within 60 ms. This time span is so short that the user may not perceive it, even if the user is actively manipulating the tissue based on the first image data.
[0031] Switching between the first and second image settings may be performed according to timing. The timing may be synchronized so that the image settings and the resulting image data correlate with each other. The image sensor may include a shutter. The shutter speed of the shutter may be fixed or variable. A known shutter helps to synchronize the image data and the image settings.
[0032] A data processor may be a device configured to receive data, process data, and output data. For example, a data processor may be a CPU, GPU, FPGA, or any other processing unit. The data processor may be configured to receive image data directly from an image sensor or via an image processor which may be configured to improve the image data for further analysis. The image data may be output by the image sensor or received directly by the data processor. The data processor may then process the image data. This processing may include recognizing which image data is the first image data (image A) and which image data is the second image data (image B). This may be based on an image configuration which is also known to the data processor. The image configuration may be input separately to the data processor, and / or the data processor may determine the image configuration based on the received image data. The processing may further include separating the first image data from the second image data. That is, the data processor may provide the first image data and the second image data as separate output data. In other words, an image data stream input to the data processor may be processed into two image data streams as output. Therefore, the first image data and the second image data may be transferred to different subsequent processes (e.g., an image viewer and a 3D engine). One of the subsequent processes may be implemented by an image viewer. The image viewer can be configured to display a target area (e.g., an object) that the user wants to inspect. The image viewer may be provided with the first image data. Therefore, the first image data captured in the first image setting may be advantageously used to visualize the object to be inspected. In other words, the image viewer may not be able to process the second image data because the second image setting may not be suitable for adequately visualizing the target area (e.g., a different focal plane due to a small depth of field). On the other hand, another subsequent process may be implemented by a 3D engine. The 3D engine may be configured to advantageously process the second image data (image B).Furthermore, the 3D engine may also be configured to process a first image data (image A). More specifically, the 3D engine may be configured to generate a depth map based on a second image data and the first image data. That is, the 3D engine may be configured to generate depth information of an object (i.e., a depth map of the object) based on the first and second image data. The 3D engine may be a device similar to a computer and may be configured to receive input data, process the input data, and output the processed data. In particular, the input data may be image data containing the 2D coordinates of an object (e.g., multiple frames), and the output data may be a third coordinate of the object (i.e., depth information or 3D shape information). That is, the 3D engine may output a depth map of an object (e.g., 3D image data). Specifically, the depth map may be a scatter plot of points, each having three coordinates that describe the spatial position or coordinates of each point of the object. That is, the 3D engine may be configured to determine a depth map based on image data. The image data may include at least two frames (e.g., two images of the object). At least two frames have different image settings; that is, at least two frames are captured with different image settings.
[0033] Furthermore, the 3D engine may be configured to divide the first and second frames of image data into one or more (e.g., >9) pixel segments called patches. The 3D engine may also be configured to compare the patches of the first frame of image data with the patches of the second frame of image data. The patches may be rectangular or square. In particular, the 3D engine may be configured to determine how clearly an object is depicted in each patch (i.e., to determine the sharpness of each patch). Patches may have multiple sizes; that is, the size of the patches provided in each frame may vary depending on the object depicted by the frame and / or the specific application (e.g., type of surgery). For example, in areas with a lot of texture, the patch size may be smaller (e.g., 5x5 pixels), while in areas of image data with more uniform pixel intensity, i.e., little texture, the pixel size may be larger (e.g., 50x50 or up to 1000 pixels). For example, an area of a frame where many edges are depicted may have a lot of texture. Thus, the 3D engine can operate very efficiently. This is because areas with many textures have smaller patch sizes (i.e., higher resolution), allowing for the acquisition of high-precision information in those areas, while areas with few textures have larger patch sizes, accelerating the processes performed by the 3D engine.
[0034] Depending on the case, the position of at least one first patch or each first patch in the first frame of the image data corresponds to the position of at least one second patch or each second patch in the second frame of the image data. Depending on the case, at least one first patch may have the same size as at least one second patch, possibly 20x20 pixels in size. That is, a first patch has the same position in the first frame of the image data as a second patch in the second frame of the image data. More specifically, when the first frame of the image data and the second frame of the image data are aligned with each other, the first and second patches will overlap. Therefore, for each patch, a depth value (i.e., z-coordinate) may be determined by the 3D engine (i.e., for each patch, the x, y, and z coordinates in 3D space are determined). A patch may have the size of one or several pixels. However, the required computational resources depend on the number of patches contained in the frame. Therefore, depending on the case, each patch may have the size of 20x20 pixels. This size ensures both high accuracy in the depth map and system efficiency.
[0035] Furthermore, the 3D engine may be configured to determine the sharpness of each patch in the first frame of the image data and each patch in the second frame of the image data. Note that several patches may have the same sharpness. The sharpness of each patch is proportional to the entropy of that patch. In other words, sharpness is synonymous with entropy. A patch in the first frame of the image data may be considered the first patch, and a patch in the second frame of the image data may be considered the second patch. The first and second patches may completely overlap each other (i.e., depict the same scene / part of the object). In other words, the first and second patches (also called a pair of patches) may or may not be located at the same position in the first frame of the image data and in the second frame of the image data. As mentioned above, the second image settings may be set by the image controller for the purpose of optimizing the depth map. The image settings in the first image data may also be set by the image controller for the purpose of optimizing the image for the user. Therefore, the image settings (e.g., focal length) of the first frame of the image data and the second frame of the image data are known. The 3D engine may use the following formula to determine the depth (i.e., z-coordinate) of the portion of the object depicted by the first and second patches.
[0036]
number
[0037] During the ceremony
[0038] d is the unknown distance (i.e., depth or z-coordinate) of a portion of the object depicted in the first and second patches.
[0039] d1 is the focal length of the first frame of the image data.
[0040] I1 is the clarity of the first patch.
[0041] d2 is the focal length of the second frame of the image data.
[0042] I2 represents the clarity of the second patch.
[0043] The focal length and patch size of the first frame and the second first frame of the image data must be carefully selected to obtain useful depth information using the above formula. In some cases, the focal length depends on the specific application being performed (e.g., the specific surgery or laparoscopic surgery being performed). For example, the focal length of the first frame of the image data may be 6 cm measured from the distal end of the shaft, and the focal length of the second frame of the image data may be 9 cm measured from the distal end of the shaft. The focal length of the first frame of the image data may also be an empirical value determined from the type of surgery (e.g., 6 cm measured from the tip of the laparoscope (i.e., the distal end of the shaft) in the case of laparoscopic surgery).
[0044] Image clarity may be represented by the information density (e.g., entropy) of a particular patch of frame. The 3D engine may be configured to apply the above formula to each pair of patches in the first frame and second frame of the image data (i.e., each first patch and each corresponding second patch). As a result, the 3D engine may determine the depth value in each pair of patches of the image data. Having depth information, the 3D engine may be configured to create a depth map using the depth information and the x and y coordinates of each pair of patches. In other words, the 3D engine may be configured to create a 3D model based on the x, y, and z coordinates of each pair of patches.
[0045] Alternatively or additionally, the 3D engine may be configured to create a 3D model using a focus stacking method. A further method that may be used to create a depth map is so-called depth from focus / defocus. Furthermore, the control unit may be configured to perform one or more of the above methods to create depth information (i.e., 3D image data) based on at least two 2D image data (i.e., a first frame of the image data and a second frame of the image data). Specifically, the 3D engine may be configured to combine at least two methods for creating a depth map. In particular, the above formula may be applied to a patch of image data where the texture is relatively high compared to other patches of the image data. Also, a method of deriving shape from lightning may be applied to other areas of image data where the texture is relatively poor compared to other areas of the image data. As a result, the performance of depth map generation can be greatly improved by applying different methods to different parts of the image data. Thus, at least one embodiment of the present disclosure can convert relative differences in image settings (e.g., focus) of image data into 3D shape information. In other words, the 3D coordinates of all patches in the image data can be calculated / determined by comparing the focus / blur of each patch (i.e., a single pixel or array of pixels). In some cases, the 3D engine may be configured to further process the depth map by filtering the resulting depth map. More specifically, to remove erroneous depth information, the control unit may be configured to compare the depth information of adjacent depth maps. If one depth is excessively high or low compared to its neighbors (i.e., exceeds the pre-termination threshold), the 3D engine may be configured to remove such depth information, as this depth information is most likely to be an error. As a result, the depth map output by the 3D engine may have high accuracy.
[0046] Depending on the case, the 3D engine may be further configured to generate depth information by comparing the entropy of at least one first patch in a first frame of image data and at least one second patch in a second frame of image data. Image sharpness is synonymous with entropy. Entropy is an example of information contained within image data (i.e., an indicator of the sharpness of the patches in the image data). That is, the first frame of image data and the second frame of image data may be compared to each other based on their entropy. Therefore, the 3D engine may be configured to determine the entropy of the first frame of image data and the second frame of image data. Specifically, the higher the entropy, the more in-focus each image data is. Conversely, the lower the entropy, the less in-focus each image data is (i.e., blurry). Entropy may be determined by the following formula.
[0047]
number
[0048] In the formula, k is the number of levels in one channel or band (e.g., the gray channel or green channel under observation), and p k is the probability associated with the gradation k. Additionally, the RGB channel and / or IR channel may be used as the bandwidth. The sharpness values I1 and I2 used in the above formula for determining the depth of a particular part of an object may be replaced by entropy, respectively. That is, using the above formula, entropy H1 is determined with respect to the first patch, and entropy H2 is determined with respect to the second patch (and each further pair of patches). Then, H1 and H2 are used instead of I1 and I2 in the formula for determining the depth of a particular part of an object depicted in the first and second patches. That is, entropy is synonymous with sharpness.
[0049] According to this disclosure, at least two different image data (i.e., first image data and second image data) may be received or generated. Each image data may be suitable for different subsequent processes. The second image data may be suitable for use in determining a depth map (e.g., by a 3D engine). The second image data may include at least one frame. If the second image data includes multiple frames, each frame of the second image data may have a different second image setting. Thus, the first frame of the second image data may be in focus on some part of the object, while the second frame of the second image data may be in focus on other parts of the object. The same may be true for the first image data. Furthermore, some parts of the object may be partially in focus in the first frame of the image data and partially in focus in the second frame of the image data. As a result, by combining or comparing both frames with each other, a whole image or whole data may be generated that contains more information about the object (e.g., further details, depth information, etc.) compared to a single image or stereoscopic image of the object.
[0050] Depending on the circumstances, an image cycle is provided in which first image data and second image data are acquired sequentially. That is, the image cycle may include a first sequence and a second sequence. In one embodiment, multiple image cycles are executed thereafter. The frames taken during the image cycles of the first and second image data may vary. For example, if there is movement in the scene to be inspected, the image controller may cause the image sensor to generate several (e.g., 11) frames for the first image data and only one frame for the second image data. This allows for a smoother video stream. In other words, the user can inspect the scene without being interrupted or hindered by the process of acquiring the second image data. Furthermore, in the next image cycle, the acquisition process may be repeated while keeping the first image settings constant (i.e., unchanged), or the second image settings in the second image data may be changed. That is, in two image cycles, the first image data may include frames where the first image settings are constant, and the second image data may include frames, each with different second image settings. For example, 55 frames of first image data and 5 frames of second image data may be obtained per second, all frames of the first image data may have the same first image setting, and all frames of the second image data may have different second image settings. For example, the image cycle may be configured as follows:
[0051] First setting - 11 frames (first image data),
[0052] Second setting 1 frame (second image data),
[0053] First image setting 11 frames (first image data),
[0054] Third setting 1 frame (second image data),
[0055] First setting 11 frames (first image data),
[0056] Fourth setting, frame 1 (second image data),
[0057] The same applies to the following. More precisely, the second image setting may differ from frame to frame. On the other hand, the first image setting may remain unchanged in all frames.
[0058] One cycle may be considered as one cycle of image setting changes from a first image setting to a second image setting, and then from the second image setting to the first image setting. One cycle may include one set of first image data and one set of second image data. In some cases, the image setting changes are fast enough so that only one frame is acquired in the first and / or second image for each data. In other words, the time image controller may be configured to cause the image sensor to acquire two or more frames in the second image data only if the image setting changes are not fast enough to do so within a single frame.
[0059] In some cases, visualization of image data (e.g., first image data) is shown to the user in real time. Therefore, the user can continuously manipulate the scene under examination without endangering the patient. In parallel, a depth map can be generated without interfering with the surgeon (e.g., the user). In one embodiment, the first image data has at least 20 fps. This allows the surgeon to examine the region of interest thoroughly and continuously.
[0060] According to one aspect of this disclosure, depth map generation may be performed in real time while the object under inspection is visualized to the user. Furthermore, since the second image data used for depth generation is acquired in the background, the user is not inconvenienced by the generation of depth information. In this way, the imaging device can be minimized, and the equipment in which the imaging device is used can be made compact. Moreover, the user may be provided with both a visualization of the object and detailed depth information of the object. Furthermore, the depth information can be used for automated or at least partially automated handling devices such as robots. Thus, automated handling devices can be precisely controlled.
[0061] Depending on the circumstances, the first image data may include at least 20 images per second. In other words, for example, at least 20 images per second are acquired to capture the first image data during an active intervention. According to one embodiment, 20 frames may be extracted from the raw image data, and the extracted frames have a first image setting and are therefore the first image data. Similarly, frames may be extracted from the raw image data, and the extracted frames have a second image setting and are therefore the second image data. The raw image data may be a video stream.
[0062] Depending on the circumstances, the first image setting and the second image setting may differ in at least focal length and / or aperture. That is, the first image data and the second image data each have different focal lengths (i.e., different focal points). Depending on the circumstances, the focal length of the second image data may be suitable for creating a depth map (for example, to focus only partially on an object). On the other hand, the focal length of the first image data may be suitable for focusing on the entire object. The first image data may have a larger focal length than the second image data. Therefore, the first image data and the second image data each may be suitable for their particular purposes.
[0063] Depending on the circumstances, the data processor may be configured to output commands to the image controller indicating which second image setting should be set and / or when the image sensor should be controlled to acquire the second image data. In other words, the data processor may request the acquisition of the second image data. In other words, the user does not set or request the second image data. The data processor may control the generation of the second image data. Thus, the data processor may control the generation of the second image data according to a predetermined pattern. For example, the second image setting may be adapted to sample or scan a spatial region in an object or part of an object that is in focus in the second image data. When such a sharp area is detected by the data processor, the second image setting may be configured to scan around the sharp area in the next acquisition of the second image data. In this way, the generation of the second image data used to generate the depth map may be made more efficient. Furthermore, the process of generating the second image data may be automated. Furthermore, the data processor may be configured to output commands to the timing controller. The timing controller may be configured to set the timing for acquiring the second image data.
[0064] In some cases, the command is based on a depth map generated by the 3D engine. That is, the results of the generated depth map can be evaluated to determine what further information is needed. For example, the depth map may have gaps or areas with little depth information. In this case, the data processor may adjust a second image data to obtain further depth information within that particular area. For example, the data processor may adjust the focal length so that the second image data is sharp in that area. Thus, the accuracy of the depth map can be improved.
[0065] In some cases, the data processor is configured to separate the first image data and the second image data into two independent image data sets. The data processor may extract the second image data from the image streams of the first and second image data sets. Furthermore, the data processor may obtain image settings corresponding to each image data set. Thus, the image data may be supplied as an image data stream and may not be transferred separately from the sensor. Consequently, the acquisition of both image data sets may be switched rapidly.
[0066] In some cases, the imaging device may further include an imaging sensor, and in some cases, a single imaging sensor. A single sensor can offer the advantage that the entire system can be very compact. Furthermore, no additional optical paths or mechanisms are required.
[0067] In some cases, the imaging device further comprises a 3D engine. A data processor may pass image data to the 3D engine. The 3D engine may extract depth information from the image data to perform 3D reconstruction. Furthermore, the 3D engine may provide a depth map to a navigation engine that can correlate the data with 3D images derived from CT, MRI, or other means. Furthermore, the 3D engine may also provide a depth map to a surgical robot controller. The depth map may also be provided to a stereo imaging engine that can convert 2D images into 3D stereo images. This data may also be provided to an image viewer and thus presented to the user in either 3D or 2D or as a hologram.
[0068] In some cases, the 3D engine may be configured to determine the error in the depth map. The 3D engine may be configured to estimate the error in the depth map based on the clarity of images of known objects, such as received image data and estimated values. That is, the image data may include information about objects having known dimensions, spatial location, and / or size. Thus, the 3D engine may compare the known information with the determined depth map. The difference between the known information and the determined depth map may be the error in the depth map. For example, the second image information may include information about an instrument in the field of view. The 3D engine may know the dimensions of the instrument to determine the actual extension of the instrument in a third direction (i.e., the z direction). Such known dimensions may then be compared with the determined dimensions in the depth map. The known information may be any information that enables a comparison between the determined depth map and reality. Furthermore, the 3D engine may transfer the error and its respective area to a data processor. The data processor may then set the timing for the next acquisition of the second image data and the second image settings. That is, the 3D engine and the data processor may communicate bidirectionally. In this way, feedback control may be implemented to improve the accuracy of the depth map. Therefore, the depth map may be checked in real time to further improve its accuracy. Furthermore, the 3D engine may forward errors to the data processor.
[0069] In some cases, the image controller may be further configured to control a second image setting based on errors. That is, the 3D engine may transfer errors and their respective areas to the data processor. The areas may be portions of the field of view included in the second image data that have errors (i.e., the difference between the real dimensions and the determined depth map). The data processor may then set the timing for the next acquisition of the second image data and the second image setting. That is, the 3D engine and the data processor may communicate bidirectionally. In this way, feedback control may be implemented to improve the accuracy of the depth map.
[0070] In some cases, the image controller may be further configured to control a light source configured to illuminate an object. The light source (illumination system) may be adjustable to illuminate an area (i.e., field of view) that can be imaged by the image sensor. Thus, image data can be generated appropriately even in poor lighting conditions. The illumination system may be an LED light source. In addition to or instead of this, the illumination system may include a laser-based light source. Furthermore, the light source may be an external light source that can be controlled by the image controller. Illumination may also be achieved by a lamp incorporated in an optical system, such as a light source at the tip of an endoscope. More specifically, the image controller may be configured to adjust the illumination, wavelength, and / or illumination duration. In this way, image data can be acquired according to desired image characteristics (i.e., the first image data may have different illumination requirements compared to the second image data). In some cases, the image controller may be configured to adjust the light source so that it conforms to the current image setting. This means that if the aperture is increased, less light may be needed to achieve optimal exposure. Thus, image settings can be made appropriately even if boundary conditions change. To produce better images, the aperture may be fully opened in the case of low illumination conditions.
[0071] In some cases, the imaging device includes a light source configured to illuminate the object. Therefore, an integrated device can be realized. As a result, handling can be further simplified, as only one device needs to be handled.
[0072] In some cases, the light source is configured to emit light having different wavelengths, possibly green wavelengths. The emitted light may be multiplexed light that outputs different wavelengths. The type of wavelength may be controlled by an image controller. The wavelengths may be adjusted as needed or in a planned sequence. For example, the wavelengths may be changed for the purpose of calibrating the device. For example, calibration should take into account the performance of the entire system over a sensing area spanning a certain wavelength range at different focal lengths. The wavelength of light may be changed to acquire a second image data. In this way, it is possible to obtain better contrast of structures. For example, green wavelengths can improve the contrast of blood vessels.
[0073] In some cases, the image controller may be further configured to control the lens and / or aperture, depending on the image settings. That is, the lens and / or aperture may define the image settings. That is, the lens may be involved in the focal length (i.e., focus) or magnification (zoom). The aperture may be involved in the depth of field (i.e., the area in the depth direction that is sharply depicted in the image data). Thus, the lens and / or aperture may be controlled according to a first image setting and a second image setting. In the first image setting, it may be advantageous to set the aperture so that the depth of field is large (i.e., the aperture is relatively closed). On the other hand, in the second image setting, it may be advantageous to set the aperture so that the depth of field is relatively small, so that both the sharp and out-of-focus parts of the object are included in the second image data. In some cases, the imaging device includes a lens and / or aperture. A larger aperture allows more light, and therefore faster shutter speeds and reduced motion blur.
[0074] In some cases, the lens and / or aperture are liquid lenses. When liquid lenses are implemented, the focal length can be changed. Liquid lenses can change their focus in a short time, sometimes as little as 10-20 ms. Liquid lenses are compact in size. The imaging device may include an optical zoom lens. The optical zoom lens may be implemented as a liquid lens. The zoom function may be activated upon user request or automatically determined by the data processor. Thus, the optimal magnification can be obtained without approaching the operating area. Various principles exist for realizing electrically controllable liquid lenses. For example, two-phase liquid lenses and / or single-phase liquid lenses may be implemented. One concept involves working with two immiscible liquids (water and oil, respectively) that are as similar in density as possible but have different refractive indices and electrical properties within the chamber. A voltage of up to 60 volts (between a ring electrode inside the chamber and a transparent indium tin oxide (ITO) electrode outside the chamber window) controls the electric field, which changes the contact angle of droplets of polar liquid (water) inside this transparent chamber window through the effect of electrowetting. As a result, the hemispherical droplet expands on the inner wall, reducing the curvature of its surface (refractory phase interface) and changing the focal length of the lens. This allows for focusing or zooming. Four radially positioned electrodes also allow for targeted wedge-shaped distortion or shifting of the droplet. This makes it possible to achieve optical image stabilization when the camera shakes or the object moves, with the help of an (autofocus) liquid lens. This technology was introduced by Varioptic in February 2010. Another concept uses MEMS (micro-electromechanical systems) to deform a transparent film, thereby giving the liquid volume different shapes with the desired refractive effect. Liquid lenses can be made particularly small as lenses with variable refractive power, which is especially needed for flat mobile phone cameras. Liquid lenses are fast, energy-efficient, and vibration-resistant.The dissolution of salt (such as potassium sulfate) in water in the lens makes the water in the lens conductive, sufficiently lowering the freezing point and vapor pressure of the water in the lens, ensuring a wide temperature range for operation (-20 to +60°C) and a wide temperature range for storage (-40 to +85°C) (i.e., the water neither freezes nor evaporates). The following technical data are typical: a 2.5 mm optical aperture with a diameter of 8 mm, a thickness of 2 mm, one adjustable refractive power between -2...+10 dpt, and a response time of approximately 1 ms.
[0075] Furthermore, the liquid lens may be an electrowetting liquid lens having an integrated adaptive liquid iris (ELL-LI) with an adjustable radial aperture and axial position. Firstly, the liquid iris and liquid lens may be integrated within the same chamber, and the liquid iris and liquid lens may share the same conductive liquid portion. By changing the amount of liquid, the contact and fusion of the two liquid-liquid interfaces in the three-layer liquid system may be altered to naturally form a liquid iris ring mounted on the side wall of a cylindrical chamber. Contraction and relaxation of the upper and lower boundaries may be achieved by changing the applied voltage and thus adjusting the aperture of the iris ring. Furthermore, the electrodes of the side wall dielectric layer on which the liquid iris is located may be segmented so that the iris can be subjected to upward or downward forces in the vertical direction, meaning that the iris can move up and down in the axial direction. Thus, the iris can be used as an axially adjustable aperture in the optical system to achieve changes in the field of view and possible aberration modulation. Experiments demonstrate that lenses with adjustable radial aperture and axial position offer depth-of-field extension and field-of-view adjustment capabilities, and have significant potential applications in imaging systems such as camera imaging systems. This technology is described in "Electrowetting liquid lens integrating adaptive liquid iris" by Jin-Bo Xu, You-Ran Zhao, Rong-Ying Yuan, Xiao-Wei Li, Chao Liu, and Qiong-Hua Wang, published in February 2024 in Optics & Laser Technology Volume 169, 110023. This article is available online from September 6, 2023, and is incorporated herein by reference.
[0076] In some cases, the image controller is further configured to control a piezoelectric drive configured to change the position of the image sensor and / or lens based on the image settings. By changing the position of the image sensor and / or lens, the image settings can be adjusted or changed. Thus, the image settings can be adjusted very quickly. The position change may be achieved by changing the distance between the sensor and a portion of the optical element using a piezoelectric crystal. A change in focal length can also be achieved in a short time using high-speed mechanical motion. This can also be achieved by using a fast-acting mirror that projects images onto two different sensors. The fast-acting mirror or mirror assembly may modify the optical path length with respect to one imager sensor to have the same effect. The piezoelectric drive may be realized as a piezoelectric crystal on which either the imaging sensor or the focusing element is mounted. Furthermore, the imaging sensor and the focusing element may each be mounted on the piezoelectric drive. The piezoelectric drive may be more accurate but bulkier than a liquid lens. However, the piezoelectric drive is more accurate and therefore has better repeatability. Liquid lenses are more compact and can have faster response times. The piezoelectric drive uses the piezoelectric effect, which can be explained by a change in geometric shape. In general, all ferroelectric materials with permanent electric dipoles, such as barium titanate and lead zirconate titanate (PZT), are piezoelectric. However, only some piezoelectric materials behave ferroelectrically. Piezoelectric crystals may be used as piezoelectric drives. For example, trigonal structures of α-type quartz, formed from quartz that is stable up to 573°C, are used as piezoelectric crystals. Lithium niobate may also be used, as it has a higher piezoelectric constant than quartz and is used in piezoelectric drives. Gallium orthophosphate may also be used. This material is similar to quartz but has a higher piezoelectric constant and better temperature stability. This material is stable above 900°C. Other piezoelectric crystals include berinite, tourmaline group minerals, senyette salts, and all ferroelectrics such as barium titanate (BTO) or lead zirconate titanate (PZT). In some cases, the imaging device includes a piezoelectric drive configured to change the position of the image sensor.
[0077] In some cases, the imaging device includes a lens and / or aperture, and the lens and / or aperture may be a piezoelectric drive.
[0078] Depending on the context, image settings may include aperture, depth of field, light, wavelength, shutter speed, and / or focal length. Furthermore, image settings may also include brightness. Therefore, image settings can affect the information in the image data. Thus, the first and second image data may differ from each other. The aperture may be changed to alter the depth of field (i.e., the depth-direction area in which the image data is in focus). Changing the depth of field may alter the depth-direction range in which the image is in focus. Light (e.g., light intensity and / or wavelength) may be changed to emphasize certain features of the object and / or to provide sufficient illumination to the object to be imaged. The shutter speed may be changed to accommodate other parameters to which the image settings have been altered. For example, if the aperture is increased, the shutter speed may be decreased to ensure sufficient exposure of the image data. The focal length (i.e., the depth-direction area in which the image data is in focus) may be adjusted to scan objects within the field of view. Therefore, the first image data (for example, for visualizing an object) and the second image data (for example, for creating a depth map) may be acquired in a manner best suited to their respective purposes.
[0079] In some cases, the image sensor may be equipped with a shutter having an adjustable shutter speed. Therefore, the image sensor may adapt to changing image settings. This can ensure sufficient acquisition of image data.
[0080] In some cases, the first image settings are entered by the surgeon via a user interface. In other words, the first image settings may be determined by the user or the user's needs. Alternatively, the first image settings may be predetermined based on the user's opinion or preference based on the intended use. In other words, the first image settings do not have to be determined automatically without considering the user's needs. In this way, the user may directly influence the visualization of the first image data. This means that the user can orient themselves on the visualized first image data when examining an object. In this way, the visualization may be adapted to the user's personal preferences and / or current boundary conditions such as the lighting in the operating room.
[0081] In some cases, the second image settings are set automatically. This means that the second image settings can be set without any direct influence from the user. Alternatively, the second image settings may be set only by the data processor. In this way, the second image settings may be determined based on the requirements necessary to determine the depth map. Furthermore, the second image settings may be updated to always be ideal for creating a depth map under given conditions, even when boundary conditions change.
[0082] In some cases, the imaging device includes a navigation engine configured to generate overlay information based on a depth map. That is, the depth map may be combined with other images, such as a 2D image. Therefore, further information may be generated based on the depth map.
[0083] In some cases, the navigation engine is configured to correlate a depth map with 3D image data derived from a CT or MRI scan. In other words, the 3D engine may provide a depth map to a navigation engine that can correlate data with 3D images derived from a CT or MRI scan or other means. In this way, automated navigation of instruments using an imaging device can be performed. For example, if the imaging device is used with an endoscope, the navigation engine may determine the spatial position of the endoscope based on the 3D image and the depth map. In other words, the 3D configuration (i.e., the depth map) may be used for various purposes, such as converting video images into stereo images for user visualization. The 3D configuration may also be used to combine 3D reconstruction with 3D reconstruction derived from a CT scan or MRI scan. The information may be used to provide context-specific information to the user through augmented reality or video or audio feedback. Feedback may be provided by any other means. Feedback may also be used to prevent accidents or injuries.
[0084] In some cases, the imaging device includes a stereo imaging engine configured to generate a 3D model based on a depth map and, in particular, a 2D image derived from a first image data. That is, the image data is also provided to a stereo imaging engine configured to convert the 2D image data (i.e., the first image data) into a 3D image such as a stereo image. This data may be provided to an image viewer. Thus, the user may be provided with a 3D visualization of the object under inspection.
[0085] Depending on the configuration, the stereo image engine 3D model may be configured to generate augmented reality, video, and / or audio feedback based on a depth map. Therefore, feedback control may be implemented. The augmented reality, video, and / or audio feedback may support the user when inspecting objects.
[0086] In some cases, the imaging device may include a surgical robot controller configured to control a robot controlling an instrument, particularly an endoscope, based on a depth map. The robot may be an automated device for performing surgical processes. The instrument may be used to analyze and / or manipulate an object. The robot may also be called a robotized system. The imaging device may or may not be part of such a robotized system. In a robotized system, the imaging device may be held stably. On the other hand, when a user holds the imaging device in their hand, it is not always guaranteed that the imaging device will be held in a stationary state. In the latter case, image data may be captured with minimal motion blur. When the imaging device is held by a robotic system, the image data capture may have minimal motion blur and therefore be very sharp, and have more prominent features that can be used for 3D reconstruction. The instrument may be moved within the field of view to be captured by the imaging data. However, if the imaging device is held in a stationary state, or if the movement of the imaging device is known, information from the instrument can be used to create a 3D reconstruction. More specifically, the dimensions of the instrument are generally known, and this data can be used to determine the depth map even in the case of movement. Furthermore, such information may be used to calibrate the imaging device or to check the determined depth map. The imaging device may also be held stably by means other than robots, for example, using a mechanical holder.
[0087] Depending on the situation, the frame rate of the image data is at least 20 FPS, and sometimes 20 to 100 FPS. FPS can mean frames per second, and may also be called frame frequency or frame rate. This term can refer to the number of frames recorded or played back per period, and is usually expressed in units of fps (frames / second). The frame rate of video is typically 20 to 100 frames / second. Frame rates of less than 30 frames per second can be used for specific purposes, such as bleeding, fluorescence imaging, or when active tissue is not being manipulated. In some cases, the imaging device is configured to control the image sensor to operate at 60 frames per second. In this case, it has been found that second image data can be captured without interfering with the user during the examination.
[0088] Depending on the circumstances, the first image data may be captured during the first sequence, and the second image data during the second sequence. Each sequence may describe a time span in which specific controls of the imaging device are performed. For example, the second sequence may include changing the focus (i.e., changing to the second image setting), capturing the second image data, and switching the focus back to the original primary focus (i.e., switching back to the first image setting). This second sequence is executed very quickly so that the user can work without being affected by their workflow. All image data that does not have a primary focus (i.e., the first image setting) may be considered as second image data. Also, the second sequence may record second image data with different focal lengths. Images acquired at the primary focus (i.e., with the first image setting) may be considered as first image data. The first and second sequences may alternate sequentially. For example, 30 frames per second may be captured in the first sequence (i.e., the first image data), and 30 frames per second may be captured in the second sequence (the second image data). In the absence of sufficient light, for example, 30 images per second can be captured in the first sequence and 5 images per second in the second sequence. In short, any combination may be realized. Therefore, the imaging device may be adapted to the current boundary conditions.
[0089] Depending on the circumstances, the frequency of the second sequence and / or the variation of the second image setting, particularly the focal length, may be dynamically determined according to the degree of uncertainty. The uncertainty may be determined by a data processor. More specifically, the uncertainty may be determined based on a depth map; that is, the more errors or gaps present in the depth map, the greater the uncertainty. In this case, the accuracy of the second image data, and therefore the depth map, can be improved by acquiring more second image data. The first image setting may also be changed based on the uncertainty. More specifically, the first image data may be acquired by performing a specific addition or subtraction to the primary focal length (of the first image setting). The changes to the image setting may also be adjusted according to a pattern, in which an increment is specified in which the image setting is changed. After the image data is acquired, the degree of uncertainty may be determined. Then, the image setting with the minimum uncertainty can be set. The uncertainty can be determined using indications derived from other data, such as instrumentation. Thus, improvements in the accuracy of the image data can be achieved.
[0090] In some cases, more frames are acquired during the first sequence than during the second sequence. This is particularly advantageous when the user is manipulating the object. In this way, the user can be prevented from being hindered in their inspection work based on the first image data. In other words, the dynamic acquisition of the first image data may be sufficient to provide the user with initial image data that gives a good impression of the object under inspection. Simultaneously, the second image data is acquired to create a depth map.
[0091] Depending on the circumstances, the image controller may be configured to alternate between a first sequence and a second sequence. In other words, the first sequence can be executed as long as enough first image data has been acquired to provide the image viewer with sufficient data to visualize the object. The image controller may then switch back to the original second sequence to acquire the second image data. The frequency of the alternation may be predetermined, or it may depend on the user's inspection work. For example, if the user is moving an instrument or the area of interest is moving, it may be necessary to provide more initial image data to achieve fluid visualization of the object. For example, the image controller may be configured to control the image sensor to capture 30 frames of first image data, followed by fewer than 30 frames of second image data. This frequency has been found to yield the best results in terms of depth map accuracy and ease of use. In the normal use of the imaging device, the first sequence may be 20 or more frames per second. The second sequence may generally contain fewer frames than the first sequence. If the 3D reconstruction of the scene is already considered sufficiently good by the data processing equipment or the user, it is conceivable that a second image file may not be acquired.
[0092] Depending on the situation, the image controller may be configured to recognize whether the endoscope is moving and to determine the movement information, and the image controller may be configured to change the image settings based on the movement information. If the imaging device detects that the user is not actively using the device or instrument, the image controller may cause the image sensor to continuously acquire second image data with different focal lengths. This is, for example, in surgery when the user changes instruments or waits for another event. In this way, 3D reconstruction can be optimized more effectively and quickly without interrupting the workflow. The system may increase the amount of second image data (e.g., the number of frames) at the start of use to build a good initial 3D reconstruction and have fewer frames during subsequent use. This ensures the rapid generation of depth maps.
[0093] In some cases, the image controller is configured to change the second image settings according to a predetermined pattern. For example, a predetermined pattern may be used depending on the type of inspection. For example, a pattern established in a previous inspection may be used again. The pattern may be stored in a database and used based on the specific inspection to be performed. In this way, the use of the imaging device can be made more efficient. The pattern may indicate a change in focus (i.e., a focus shift). Thus, the object may be scanned, particularly in the depth direction.
[0094] In some cases, an image sensor is configured to capture image data with different wavelengths. Therefore, the image setting can be changed by altering the wavelengths received by the imaging sensor. For example, when imaging longer wavelengths such as near-infrared (NIR), the focal length changes due to the difference in refractive index between visible light and NIR light. In this way, the focus may be shifted to acquire a second image data. Focus shifting techniques may be used to generate the second image data and a reference focal length at each wavelength. This is particularly useful for 3D reconstruction of the second image data with longer wavelengths.
[0095] In some cases, the imaging device includes at least one mirror configured to deflect the light to be received by the image sensor in order to change the image setting based on a command from the image controller. In other words, the image setting can be changed in a short time using mechanical movement. This can be achieved by using a fast-acting mirror configured to project images onto two different sensors. The fast-acting mirror or mirror assembly may modify the optical path length with respect to one imager sensor. In this way, the image setting can be changed from a first image setting to a second image setting without inconveniencing the user.
[0096] In some cases, the second image data may not be directly shown to the user. That is, the second image data may be used solely for generating a depth map. Alternatively, the visualization may be performed so that only the first image data is shown to the user. In this way, each image data can be precisely configured to be optimal for its respective use (i.e., the first image data for visualization and the second image data for generating a depth map). This is made possible by an image controller that can quickly change the image settings so that the visualization of the first image data is not hindered by small gaps in which the second image data is captured.
[0097] In some cases, the image controller is configured to improve the clarity of the first image data based on a second image data. That is, the clarity of the first image data may be improved using a second image data acquired at a different focus. For example, the spatial position of an object may be determined based on the second image data. The image settings of the first image data may then be adjusted to take the spatial position of the object into account. In this way, the visualization of the first image data can be improved and made more efficient because the information obtained by analyzing the second image data can be applied to the first image data (for example, by adjusting the first image settings). For example, if the position of the instrument tip (e.g., endoscope) is known, the first image settings may be configured to show the contact point of the instrument tip with tissue with high clarity. Alternatively, the intended tissue can be better focused thanks to the known depth.
[0098] Further aspects of this disclosure provide an endoscope having an imaging device according to any one of the embodiments described above. In other words, the endoscope may include a camera head equipped with the imaging system. The camera head may accept the imaging device and may be connected to the endoscope via a camera adapter. A focusing ring may be positioned in the camera adapter of the endoscope so as to bridge the camera head and the telescope of the endoscope. The telescope may be the shaft of the endoscope. The optical channel may be located within the shaft. Furthermore, the shaft may be flexible so as to allow the optical channel to rotate at the distal end of the endoscope (e.g., the telescope), or it may protrude from the distal end of the endoscope. Furthermore, the endoscope may include a light source (lamp). The light source may be adjustable to illuminate the area to which the distal end of the optical channel is directed. Thus, even in poor lighting conditions, the first and second image data can be adequately generated. The light source may optionally be an LED light source or a laser light source. As a result, an endoscope may be provided that can acquire at least two focus-shifted image data using a single image sensor. As a result, the endoscope may have a highly integrated design and can be used in a wide range of application areas. Depending on the circumstances, the sensor may be located at the distal or proximal end of the endoscope. Therefore, the endoscope can be adapted to specific applications (e.g., robotically controlled applications or handheld applications).
[0099] According to one aspect of this disclosure, an endoscope relating to any of the above embodiments,
[0100] A system is provided comprising an instrument configured for use within the field of view of an imaging sensor, the instrument having a mark, and an image controller configured to change image settings based on the mark in the field of view. The instrument or instrument may typically be in motion. Therefore, the instrument may or may not be in focus. Furthermore, the instrument may have a mark for recognition, such as a barcode. For example, the marking may not be visible if the instrument is out of focus. The image controller may help identify the marking even if it is out of focus in the first image data. However, the marking may be in focus in the second image data (i.e., in any frame of the second image data). Furthermore, the marking may have a known shape and size that also helps in identifying depth. Furthermore, the marking may be used to calibrate the determination of the depth map.
[0101] According to one aspect of the present disclosure, a method is provided for imaging an object, the method comprising the steps of: acquiring first image data of the object having a first image setting and second image data of the object having a second image setting, wherein the first and second image settings are different from each other; switching the image settings between the first and second image settings in less than 100 ms; transferring the image data to a 3D engine; and generating a depth map of the object based on the image data. Features and advantages disclosed in relation to a device may also apply to the method, and vice versa. The image data may include not only the image data but also the associated image data settings.
[0102] Image data acquired using image settings primarily determined based on user needs is referred to as first image data. Image data acquired without image settings primarily determined based on user needs is referred to as second image data. The image settings of first image data may generally remain stable when the scene (i.e., the subject) under imaging is stable. The second image settings may not remain stable even when the scene is stable. There may be fewer second image data than first image data.
[0103] The user is primarily shown images based on the first image data. If the user deems the second image data unobtrusive, a small number of images may be shown based on the second image data. This may represent less than 30% of the images shown during the intervention. These images may be shown directly in 2D from the data processor, or in 3D as output from a 3D / 3D engine. These images may also be shown in 2D as output from the navigation engine.
[0104] The duration of the acquisition of the second image data is shorter than 300ms if there is motion (i.e., active intervention) in the image, in order to reduce user inconvenience. The motion may be movement of the image sensor or equipment, manipulation of an organization, or any other intentional movement that requires the user to focus on the image in order to perform a task.
[0105] If the image settings differ but the difference does not affect the user, the image settings are considered to be the first image settings or the first image data. In the case of a transition from one setting to another, depending on the speed of the transition and its impact on the user, some images may be part of the first image data (first sequence), and some images may be part of the second image data (second sequence).
[0106] Furthermore, this disclosure also covers the use of an imaging device according to any one of the embodiments described above in a surgical instrument such as an endoscope.
[0107] According to one embodiment of the present disclosure, an imaging device is provided. The imaging device may also be referred to as a high-speed focusing mechanism. The imaging device may be incorporated into an optical system or a holding system. An image controller is incorporated into the system. This controller may be hardware, software, or both. The controller may send commands to the imager (e.g., an image sensor) about when and how to acquire image data with a shifted focus (second image data) compared to image data with a primary focus (first image data). This image includes timing and focal length or focus shift. The primary focus is determined by the surgeon either manually or automatically. The primary focus is the area of the surgeon's main work, manipulation, or incision. In the case of open surgery, the primary focus is mainly the central part of the image. The surgeon views the image with the primary focus (first image data). This may be at a fixed distance or may be changed during surgery. The controller may trigger a focus change operation or know when such a change will occur. The controller may pass information to a data processor. The data processor may extract images from the image stream and may know the image acquisition parameters. Parameters may include focal length or difference, light settings, and timing. The data processor passes this information to the 3D engine. The 3D engine can extract depth information from this information and perform 3D reconstruction. The sensor, controller, data processor, and 3D engine may be connected to each other and may communicate with each other bidirectionally or unidirectionally. The 3D engine may estimate errors based on the clarity of the received image, from images of known objects such as estimates and feedback from connected robotic systems. The 3D engine may also notify the data processor of the errors and their respective areas. Based on the errors and other parameters described below, the data processor may determine the timing and focal length or focus shift for the next image acquisition. The 3D engine may provide a depth map to a navigation engine that can correlate the data with 3D images derived from CT, MRI, or other means.The 3D engine may also provide data to a surgical robot controller. The data may also be provided to a stereo imaging engine capable of converting 2D images into 3D images. This data may also be provided to an image viewer.
[0108] According to one embodiment of this disclosure, the video frame rate is typically 20 to 100 frames per second. Frame rates of less than 30 frames per second are typically used for specific purposes, such as when bleeding is occurring, fluorescence imaging is not taking place, or when no active tissue manipulation is being performed, and the imager is typically operating at 60 frames per second. By using a fast focusing mechanism, the focus may be changed, one or more images may be captured, and the focus may be returned to the original primary focus in less than 100 milliseconds. All of this can occur within a maximum of less than 300 milliseconds. This sequence of changing the focus, capturing an image, and switching the focus back to the original primary focus is called a second sequence. Because this second sequence occurs in a very short time, the user can work without affecting their workflow. All images that do not have a primary focus may be called second image data. A single second sequence may contain one image or several images with different focal lengths. Images captured at the primary focus are called first image data (i.e., in the first sequence).
[0109] Liquid lenses can change their focal length at very high speeds. This property of liquid lenses is utilized in this embodiment. Furthermore, piezoelectric drives can act very quickly over short distances while maintaining high precision. In a typical scenario, the refocusing mechanism may achieve the target focus in 20 ms, acquire the image in 20 ms, and shift the focus back to the original primary focus in 20 ms. The entire process can occur within 60 ms. This period is so short that the user may not even notice active manipulation of the system.
[0110] 3D configurations may be used for a variety of purposes. For example, video images may be converted into stereo images for the user to see. 3D configurations may also be used to combine 3D reconstruction with 3D reconstructions derived from CT scans or MRIs. Information may be used to provide context-specific information to the user through augmented reality or video or audio feedback. Feedback may be provided by any other means. Feedback may also be used to stop accidents or injuries. In robotic systems, the imager (e.g., sensor) may be held stably. Thus, images may be captured with minimal motion blur. This allows for the capture of very clear images with more prominent features that can be applied to 3D reconstruction. Although the equipment may be moving in the image, their dimensions are generally known, and this data can be used even in the case of movement.
[0111] In further embodiments, the first and second sequences may alternate sequentially, if feasible. For example, the first sequence may have 30 images per second, and the second sequence may also have 30 images per second. If there is insufficient light, or if the hardware or software is not fast enough, there may be 30 images from the first sequence and 5 images from the second sequence per second. In short, any combination can be used. When the system is in normal use, the first image data does not need to have a frame rate of less than 20 frames per second. The second image data may generally have a lower frame rate than the first image data. If the 3D reconstruction is already considered sufficiently good by the system or user, it is conceivable that the second image data will not be acquired. If the device detects that the user is not actively using the system, the device may sequentially acquire several images with different focal lengths as the second image data. One example of this is when the user is changing equipment or waiting for some other event to occur during surgery. In this way, 3D reconstruction can be optimized more effectively in a shorter time without disrupting the workflow. The system may increase the number of image B at the start of use to build a good initial 3D reconstruction, and have fewer during subsequent use. The frequency and / or focal length variations of the second sequence may be determined dynamically depending on the degree of uncertainty. This may also be a specific addition or subtraction to the primary focal length used to capture the main image (first image data). This may also be a planned predetermined pattern. Clues derived from other data, such as instrumentation, can be used to determine the uncertainty. When imaging longer wavelengths, such as near-infrared (NIR), the focal length changes due to the difference in refractive index between visible light and NIR light. Focus-shifting techniques may be used to generate clarity data and a reference focal length at a specific wavelength. This is applied to perform 3D reconstruction of images at longer wavelengths.
[0112] According to one embodiment, the device needs to be calibrated according to the wavelength to be used. If such light is to be used or fluorescence is expected, multiple calibrations may be required at different wavelengths. The light used may be multiplexed light that outputs different wavelengths as needed or in a planned sequence. Calibration may take into account the performance of the entire system, across a wavelength range and across the entire sensing area, at different focal lengths. The aperture may be dynamically changed to obtain a more accurate 3D reconstruction. For example, the first image data may be captured at a smaller aperture, and the second image data at a larger aperture. A larger aperture can enable a smaller depth of field and higher accuracy of depth estimation. Also, a larger aperture may allow images to be captured with more light in a shorter time. This minimizes the impact on the workflow or on the capture of multiple images with various focal lengths. The most optimal way to change the focal length may be by using a liquid lens. A liquid lens can change focus in a short time of 10-20 ms. This can be done by changing the distance between the sensor and a part of the optical element using a piezoelectric crystal. To achieve a change in focal length in a short time, high-speed mechanical movement may be used. This can also be achieved by using a high-speed operating mirror that projects images onto two different sensors. The high-speed operating mirror or mirror assembly may modify the optical path length with respect to one imager sensor to have the same effect. When a piezoelectric crystal is used, either the sensor or the focusing element may be mounted on the piezoelectric crystal. Piezoelectric systems can be more accurate but are bulkier than liquid lens configurations. However, piezoelectric systems are more accurate and therefore have better repeatability. Liquid lens designs can be more compact and have faster response times.
[0113] In further embodiments, the light may be further optimized to capture the second image data. For example, the light intensity may be increased over a short period of time to obtain a better image in a shorter time. This may help keep heat under control without degrading performance. Furthermore, the wavelength of light may be changed for the second image data to obtain better contrast of structures. For example, green wavelengths can improve the contrast of blood vessels. There may be times when there are no prominent features in the field of view. Random patterns may be projected onto the image over the duration of recording the second image data. This may contribute to better 3D reconstruction without inconveniencing the user. These functions may be activated automatically or at the user's request. The second image data does not have to be shown directly to the user. The results of the analysis of the second image data may be shown to the user.
[0114] Equipment is usually in motion. Therefore, there is a growing trend to mark equipment, for example, with barcodes, to recognize equipment that may or may not be in focus. When equipment is out of focus, the marking may not be visible. A fast focusing mechanism can help identify the marking even when it is out of focus at the primary focus. The marking may be a known shape and size that also helps identify depth. A second image data may be used to improve the clarity of the first image data.
[0115] The device may incorporate an optical zoom lens. The lens may be made from a liquid lens. The zoom function may be activated on request by the user or may be determined autonomously by the image controller. This allows for obtaining the optimal magnification without having to approach the operating area.
[0116] Multiple image sensors may be used for imaging. In this case, one of the image sensors may be considered the primary image sensor for creating the first image data. Basically, the image sensor with settings according to the user's needs becomes the primary sensor, and the image data from that sensor is considered the first image data.
[0117] Depending on the circumstances, the first and second image settings may differ in at least focal length, luminance, resolution, and / or aperture. That is, the image settings may be characteristics of the first and second image data. Different focal lengths may mean that different parts of the field of view are in focus in the first and second image data. In image data, luminance may refer to a perception or measurement of how bright or dark a pixel appears. This may be an indicator of the intensity of light emitted or reflected by an object in the image data. Mathematically, luminance may be calculated as the luminance of a pixel depending on the color channel (such as red, green, and blue) in the image. In a grayscale image, luminance is directly related to the pixel intensity value, ranging from 0 (black) to a maximum value (white, often 255 in an 8-bit image). In image data, resolution may refer to the level of detail the image holds, determined by the number of pixels used to represent the image. Resolution may define the amount of information in the image and how sharp or detailed it appears. Resolution may be defined in two main ways. In other words, spatial resolution: This can refer to the number of pixels along the width and height of an image. For example, an image with a resolution of 1920 x 1080 has a width of 1920 pixels and a height of 1080 pixels, totaling more than 2 million pixels (or 2 megapixels). Higher spatial resolution means more pixels and finer detail in the image. Pixel density (DPI or PPI): Resolution can also refer to pixel density, often expressed as dots per inch (DPI) or pixels per inch (PPI). This indicates how many pixels are packed into a given physical space (such as a screen or print). Higher PPI results in a sharper image, especially for printing or close viewing. In image data, aperture can refer to the opening of a camera lens through which light passes before reaching the sensor or film. The aperture can directly affect exposure, depth of field, and the amount of light contributing to the image. The aperture may also be defined by an F-number (f-stop) (e.g., f / 1.8, f / 5.6) that represents the ratio of the focal length of the lens to the diameter of the aperture.A smaller f-number (e.g., f / 1.8) means a wider aperture, allowing more light into the camera, while a larger f-number (e.g., f / 16) means a narrower aperture, reducing the amount of light. The aperture can affect the depth of field: the aperture can affect the depth of field, or how well the image is in focus. A wider aperture results in a shallow depth of field where the subject is sharp but the background is blurred. A narrower aperture increases the depth of field, bringing more of the scene into focus. Furthermore, the aperture can affect the sharpness and optical quality of the image.
[0118] In some cases, at least two sensors are provided, at least one sensor configured to receive first image data and at least one other sensor configured to receive second image data. In other words, a sensor may be provided for each type of image data (e.g., first image data and second image data). Thus, image data may be received in parallel. For example, one sensor may be configured to receive near-infrared light (NIR) and the other sensor may be configured to receive white light. In some cases, four sensors may be provided, two for white light and two for NIR. This ensures that image data is received properly.
[0119] In some cases, the image control engine may be further configured to control a light source configured to illuminate an object. The light source may be configured to emit light of different wavelengths. Thus, different sensors may be supplied with the respective wavelengths they can receive. Thus, different image data may be generated, each suitable for determining specific information (e.g., a depth map or part thereof).
[0120] Depending on the circumstances, the light source may be configured to emit near-infrared and white light. NIR and white light are an efficient combination for determining a first and second image data set that are distinct from each other. Furthermore, a detailed depth map may be generated based on these different image data sets.
[0121] In some cases, the image control engine may be further configured to control the lens and / or aperture. Therefore, image settings may be further affected.
[0122] In some cases, the imaging device includes a lens and / or aperture, and the lens and / or aperture may be a liquid lens.
[0123] Depending on the context, the image settings may include aperture, depth of field, light, wavelength, shutter speed, brightness, resolution, and / or focal length. In other words, the first and second image settings may differ from each other by one or more of these characteristics.
[0124] In some cases, the imaging device may further include a surgical robot control engine configured to control instruments, particularly robots that control endoscopes, based on a depth map.
[0125] In some cases, the imaging device further includes a guidance engine configured to output guidance information to the user based on a depth map. The guidance engine may output guidance information in the form of, for example, visual signals. For example, when the user reaches a desired location, a green dot and / or an acoustic signal may be output. Thus, the user knows that they are in the correct location. For example, the guidance information may be output as VR or AR information. Thus, a more immersive user experience may be provided.
[0126] Depending on the case, the 3D engine may be configured to generate at least one depth map based on the shape from the focal plane, the shape from the brightness, and / or at least one landmark. "Shape from Focal Plane" (SFF) is a computer vision technique used to reconstruct the 3D shape of an object by analyzing a series of images captured at different focal lengths. SFF determines the depth of each point on the object's surface based on how well-focused it appears in each image. In medical applications, SFF may be used to create detailed 3D models (e.g., depth maps) of biological structures such as tissues or organs using non-invasive imaging techniques such as microscopy or endoscopy. Firstly, image capture at various focal planes: A series of 2D images may be captured, each image focusing at a different depth of the tissue or organ being examined. Focusing: Each pixel in these images represents a specific point on the tissue. By analyzing the sharpness or clarity of each pixel across the entire image stack, the system determines the best depth of focus at each point. The sharpest or most in-focus point provides information about the precise depth of its feature. 3D Reconstruction: Once the most focused pixel at each point on the tissue is determined, a depth map is created, which can then be used to construct a 3D model of the tissue surface. This model can represent the structure of organs, wounds, or other internal features, allowing physicians to examine their shape and depth in more detail. Shape from Brightness (also called Shape from Shading) is a computer vision technique that extracts 3D information about the shape of an object based on changes in brightness (or intensity) of a 2D image. The basic principle is that shading patterns are formed by how light interacts with the surface of an object and how the light reflects back to the camera or sensor, thereby revealing the orientation and shape of the object's surface. Shape from Brightness may involve using the difference in shading across an entire image of a tissue, organ surface, or other biological structure to infer their 3D shape. This method is particularly useful in scenarios where direct measurement of depth is difficult or invasive and only 2D images are available.By processing the brightness information of these images, the contour and surface structure of the tissue being examined can be estimated. Landmarks may be points in the field of view that have a known position and / or dimensions. For example, an instrument may be visible in the field of view. Landmarks or marks that can indicate the depth of the landmark may be provided on such an instrument.
[0127] In some cases, the 3D engine is configured to generate at least one depth map using an artificial neural network. The artificial neural network or learning algorithm may be, for example, a classifier. Furthermore, the learning algorithm may be configured to map input data to desired output data. Learning may refer to the properties that the algorithm can define a general model with parameters. The mapping of input data to output data may be a mathematical function depending on the parameters. The algorithm may learn the mapping of input data to output data by tuning parameters with respect to a given pair of input data and desired output data so that the output of the algorithm is as similar as possible to the desired output. The similarity may be defined by a mathematical cost function (i.e., a mapping that takes the output of the learning algorithm and the desired output as inputs and maps them to real numbers) which must be specified by the user (e.g., the developer). The lower the value of the cost function (i.e., a real number), the more similar the output is to the desired output. The learning algorithm may be an artificial neural network.
[0128] In some cases, the 3D engine is configured to generate at least two depth maps with different resolutions, and the 3D engine is configured to merge the at least two depth maps with each other to generate a merged depth map, in which the region of interest is represented by the high-resolution depth map, and the rest of the merged depth map is represented by the low-resolution depth map. In other words, the region of interest that may represent the features being examined may be depicted at high resolution, and the rest of the image (e.g., image data) may be depicted at low resolution. Thus, the generation speed can be increased. Furthermore, since the entire image data is visible to the user, nothing is lost, and the user can obtain the whole picture, even information surrounding the region of interest.
[0129] The method for imaging an object is: A step of acquiring first image data of an object having a first image setting and second image data of an object having a second image setting, wherein the first image setting and the second image setting are different from each other. The steps include transferring image data to the 3D engine, A step of generating a depth map of the object based on the data, Includes.
[0130] A method for training or retraining an artificial neural network useful for generating depth maps, wherein the method is: A step of receiving input training data, i.e., image data containing multiple pixels, wherein the image data includes brightness information, shape information, landmark information and / or focus information for at least a portion of the pixels. The steps include receiving output training data, i.e., at least one depth map showing the spatial locations of at least some of the pixels of the image data, The steps include: fitting the parameters of the artificial neural network to map the input training data to the output training data, This includes the following. Therefore, a learning algorithm (e.g., an artificial neural network) may be trained. Furthermore, a learning algorithm may also be retrained. Retraining may be similar to training. The difference is that during training, the learning algorithm may start with random values for its parameters. On the other hand, when a learning algorithm is retrained, it may start with values from a previously trained learning algorithm. Therefore, retraining a learning algorithm may be faster and more efficient compared to the training steps. A training set may be used to train a learning algorithm. A training set may be a set of pairs of image data containing at least one characteristic. Using this set, a learning algorithm may be developed that accepts image data as input and gives a corresponding depth map as output.
[0131] The advantages and features described in relation to the devices are also applicable to the methods, and vice versa. Unless otherwise expressly stated, individual embodiments or their individual aspects and features may be combined or interchangeable with one another without limiting or expanding the scope of the disclosed disclosure, but only if such combination or interchange is meaningful in the sense of the disclosure. Any advantage described in relation to one aspect of the disclosure may, whenever applicable, also be an advantage of other aspects of the disclosure.
[0132] Useful embodiments of the present disclosure will now be described with reference to the accompanying drawings. Similar elements or features are indicated by the same reference numerals in the drawings.
[0133] These and other features, aspects, and advantages of this application will be described with reference to drawings of specific embodiments intended to illustrate, but not limit, the disclosure. It should be understood that the accompanying drawings are for illustrative purposes only and may not be to scale. [Brief explanation of the drawing]
[0134] [Figure 1A]This is a schematic diagram of an imaging environment according to several embodiments. [Figure 1B] This is a schematic diagram of a non-limiting, exemplary imaging system 100 according to several embodiments. [Figure 2] These are schematic diagrams of endoscopes according to several embodiments. [Figure 3A] This is a schematic diagram of an exemplary imaging device according to several embodiments. [Figure 3B] This is a schematic diagram of some exemplary imaging devices according to several embodiments. [Figure 4A] This is a schematic diagram of an exemplary imaging device according to several embodiments. [Figure 4B] This is a schematic diagram of an exemplary imaging device according to several embodiments. [Figure 4C] Figures 4A and 4B or another imaging system illustrate an exemplary optical path of light based on a change in the orientation of a mirror, which may be part of an imaging system according to several embodiments. [Figure 4D] Figures 4A and 4B or another imaging system illustrate an exemplary optical path of light based on a change in the orientation of a mirror, which may be part of an imaging system according to several embodiments. [Figure 5A] The following are exemplary alignment optical elements according to several embodiments that may be part of an imaging system, as shown in Figures 4A and 4B or in another imaging system. [Figure 5B] The following are exemplary alignment optical elements according to several embodiments that may be part of an imaging system, as shown in Figures 4A and 4B or in another imaging system. [Figure 5C] The following are exemplary alignment optical elements according to several embodiments that may be part of an imaging system, as shown in Figures 4A and 4B or in another imaging system. [Figure 5D] The following are exemplary alignment optical elements according to several embodiments that may be part of an imaging system, as shown in Figures 4A and 4B or in another imaging system. [Figure 5E]This is a schematic diagram of an exemplary imaging device according to several embodiments. [Figure 5F] The following are exemplary optical paths of imaging devices according to several embodiments. [Figure 5G] The following are exemplary optical paths of imaging devices according to several embodiments. [Figure 6A] The following are exemplary software controllers that may be used to operate and / or process data in certain systems according to several embodiments. [Figure 6B] Figure 6A is a block diagram illustrating the general configuration of several embodiments of the imaging system and / or the interactions between different processes that may be part of a software controller. [Figure 7A] The following are some non-limiting examples of depth map generation processes that may be carried out by a controller of any embodiment of an imaging device, system, or method disclosed herein. [Figure 7B] The following are some non-limiting examples of depth map generation processes that may be carried out by a controller of any embodiment of an imaging device, system, or method disclosed herein. [Figure 7C] The following are some non-limiting examples of depth map generation processes that may be carried out by a controller of any embodiment of an imaging device, system, or method disclosed herein. [Figure 7D] The following are some non-limiting examples of depth map generation processes that may be carried out by a controller of any embodiment of an imaging device, system, or method disclosed herein. [Figure 8] This section shows an exemplary image data processing flow that may be carried out by a controller of any embodiment of the imaging device, system, or method disclosed herein. [Modes for carrying out the invention]
[0135] While certain preferred examples or embodiments are disclosed below, the subject matter of the present invention extends beyond the specifically disclosed examples to other alternative examples and / or uses, as well as their modifications and equivalents. Therefore, the claims that may arise herein are not limited by any of the specific examples described below. For example, in any method or process disclosed herein, the operation or steps of the method or process may be performed in any suitable order, and are not necessarily limited to any specific disclosed order. Various steps may be described sequentially as a number of separate steps in a manner that may be helpful in understanding a particular example. However, the order of description should not be construed as meaning that these steps are order-dependent. Furthermore, the structures, systems, and / or devices described herein may be embodied as integrated components or as separate components. For the purpose of comparing various embodiments, specific aspects and advantages of these embodiments are described. Not all such aspects or advantages are necessarily achieved by a particular embodiment. Therefore, for example, various embodiments may be performed to achieve or optimize one or a group of advantages taught herein, without necessarily achieving other aspects or advantages that may be taught or suggested herein.
[0136] Most endoscopic systems are monocular, presenting images in two dimensions. However, stereoscopic endoscopes can provide depth information for objects or scenes. Typically, stereoscopic endoscopes attempt to reproduce the depth of three-dimensional objects using stereoscopic imaging techniques. For example, a stereoscopic endoscope might use a dual-camera system that observes the object at slightly different positions to generate images for each of the user's eyes, in an attempt to reproduce a more realistic depth perception during observation.
[0137] However, stereo optical systems are far more complex and expensive to manufacture. For example, when using a stereo endoscope for imaging, rotating the endoscope is extremely difficult. In particular, when such an endoscope is rotated, both image channels rotate around the axis. Since the human brain can only process images when the two images are horizontal, rotation must be taken into account when reconstructing the image data for the user to view, which can be complex and expensive to achieve. Furthermore, while stereo optics can provide a certain type of 3D visualization to the user, stereo optics do not provide depth maps.
[0138] Creating accurate depth maps from stereo endoscopic data is complex, for example, due to optical aberrations. Depth maps can include a representation of the imaged object or scene, containing information about the distance to the surface of the imaged object or scene, and can be derived from the degree of focus or blur in the acquired image data. When an object is out of focus, it can be either in front of or behind the image plane. The image plane is the plane to which the imaging system is primarily focused. The position of an object in the image can be inferred from prior knowledge of the scene, for example, through previously acquired image data or other sources. In surgical situations, such prior knowledge may be unavailable or difficult to determine due to indistinguishable objects or dynamic scenes. Furthermore, in surgical applications, the generated depth maps need to be accurate to within a few millimeters. Conventional surgical optics systems are designed for high depth of field. This limits the possibility of generating depth maps with the required precision, and inaccuracies in the generated depth maps can endanger the patient.
[0139] Generally, image data feeds (e.g., video feeds) acquired during surgery consist of several frames per second. In some embodiments, frame rates of 50 or 60 frames per second may be used. The human eye can typically perceive continuous motion at speeds of approximately 30–60 frames per second without significant jitter, and typically cannot distinguish whether one or more of these frames are skipped, missed, or slightly modified (e.g., by having lower resolution or a different focus). Taking advantage of the limitations of human perception, some embodiments of the devices, systems, and methods disclosed herein preferably enable both live observation of an object and generation of depth maps by changing image settings at a speed faster than the human eye can perceive, so that the image sensor can present data to be seen directly and acquire image data in settings that are not optimal for direct observation by the user without being perceived by the user or interfering with the user's workflow.
[0140] Therefore, the acquisition of image data (or second image data as sometimes referred to herein) for generating or optimizing depth maps may occur in the background or between presentations of observable image data at a speed faster than human perception. As a result, the user may not notice or be bothered by this data acquisition process. The second image data may then be used to generate depth information using a similar method as described in European Patent Application No. 4000494, “IMAGING SYSTEM, LAPAROSCOPE AND METHOD FOR IMAGING AN OBJECT,” filed November 13, 2020, the contents of which this European Patent Application are incorporated herein by reference in their entirety as if they were fully described herein. For example, an imaging system may use two sensors mounted on a prism to successively acquire two separate image streams with shifted focus.
[0141] A. Exemplary imaging system Figure 1A shows a non-limiting example of an imaging environment 101 in which the endoscopic systems and methods described herein may be used. In the illustrated example, the imaging environment 101 includes an area 105 under observation by an imager 107. The imager 107 may include an imaging device such as an endoscope suitable for surgical and / or other medical applications. The imager 107 can communicate directly or indirectly, wirelessly and / or wired, with a controller 103 and / or one or more user devices 111 and / or a cloud-based device 109, or any combination thereof.
[0142] Area 105 under observation may be part of patient 10, such as an area operated on during a surgical procedure. For example, area 105 may include internal spaces of patient 10's body, such as hollow organs or body cavities. Area 105 may be open to the surgical environment and / or enclosed within the body, such as during laparoscopic procedures. In other examples, area 105 may be another environment where depth mapping is useful and / or suitable for imaging by imager 107, as described herein. Area 105 may be an area related to medical, industrial, scientific, or other fields, and / or an area related to the interior of a hollow cavity and / or an area difficult to reach with standard imaging equipment.
[0143] The imager 107 may include an imaging system 100, as will be described in more detail herein. The imager 107 may include an endoscope or similar imaging device designed to image an area 105 under observation during a surgical procedure. The imager 107 may include, but is not limited to, one or more camera sensors, one or more optical components, one or more illumination components, and one or more hardware processors. The imager 107 may include one or more imaging devices and / or one or more types of imaging devices.
[0144] The imager 107 may be configured to capture image data for generating a depth map, as described herein. In at least one example of acquiring image data for generating a depth map, the imaging system 107 as described herein may be configured to acquire multiple snapshots of the area 105 under observation at different focal depths. In some embodiments, the snapshots may be combined with a live video feed (which may include, for example, images and / or videos acquired at the user's preferred depth and / or focus settings) to accurately determine the depth map of the area 105 being imaged. The image data acquired for determining the depth map may or may not be shown to the user, such as by allowing the user to observe the depth map on the output of the imager 107 and / or on the user device 111. As a result, a more accurate 3D reconstruction of the area 105 under observation (e.g., an object) can be achieved without disrupting the workflow of the user of the imaging system, such as a surgeon performing surgery in the area 105 under observation. This allows users of Imager 107 to continue working as usual without disruption, while also achieving better accuracy in 3D reconstruction.
[0145] The imager 107 and / or certain aspects of its operation may be controlled by the controller 103. For example, the controller 103 may be configured to control optical elements of the imager 107, such as one or more variable focus lenses and / or illumination modes of the imager 107. The controller 103 may be configured to instruct the capture of image data for the generation of depth maps and / or live feed data, based on user preferences, etc. The controller 103 may be configured to control multiple aspects of the imager 107 and / or process images and / or other data associated with the imaging environment 100. In some embodiments, the controller 103 may be part of a separate component from the imager 107, such as a separate computing system, and may be part of a user device 111 or a cloud-based device 109. In some embodiments, the controller 103 may be part of the imager 107 or the device itself. The controller 103 may include one or more hardware processors, which are some combination of network and / or local devices. The controller 103 may operate autonomously (or without active user input), semi-autonomously, and / or be guided by the user. The controller 103 may be controlled or operated by the user of the imager 107 and / or by another person, such as an operator who may or may not be managing the positioning of the imager 107.
[0146] One or more user devices 111 and / or network-based devices 109 may be configured to display, store, process, and / or access data associated with the imaging environment 100, such as, in the case of a surgical environment, the patient 10, the area under observation 105, the surgical procedure being performed, the user's preferences regarding the imager 107 or other devices, or a combination thereof. In some embodiments, one or more user devices 111 and / or network-based devices 109 may include a display configured to show the user a depth map and / or a live video feed. One or more user devices 111 and / or network-based devices 109 may be operable by the user of the imager 107 and / or by another person, such as an operator who may or may not be managing the positioning of the imager 107.
[0147] One or more user devices 111 and / or network-based devices 109 may include a data store. For example, one or more user devices 111 may be configured to store and / or access imaging data from the current imaging session and / or past imaging sessions. For example, one or more user devices 111 and / or network-based devices 109 may be configured to display depth map data from past imaging sessions for use in medical and / or surgical training applications, or for other applications. In another example, one or more user devices 111 and / or network-based devices 109 may be configured to display data based on stored user preferences, such as those related to depth of field or other depth map settings. One or more user devices 111 and / or network-based devices 109 may include patient-specific and / or environment-specific information, such as information related to a procedure being performed on a patient, instruments used during the procedure, and / or other information.
[0148] Figure 1B is a schematic diagram of a non-limiting, exemplary imaging system 100 according to some embodiments disclosed herein. In the example of Figure 1B, the imaging system 100 images an object 112 within an area under observation 105, such as area 105 described with reference to Figure 1A. The illustrated imaging system 100 may, but is not limited to, an imaging device 114, one or more hardware processors 120, and one or more outputs 121. Certain details of certain components of the system 100 are shown, but these are non-limiting and intended to be illustrative examples of one embodiment. Certain components included in the system 100 may or may not be shown in the sample embodiment shown in Figure 1B.
[0149] The imaging system 100 may include some or all of its components in the same housing or in different housings. For example, the imaging system 100 may include the imaging device 114 in a separate housing from one or more hardware processors 120, such as the image controller 113 and / or data processor 115, or in the same housing. The imaging system 100 may include outputs 121, such as the image viewer 117 and / or 3D engine 116, in the same housing or a different housing as one or more hardware processors 120 and / or the imaging device 114 or its embodiments. As those skilled in the art will see, other combinations of device components are possible, and / or certain components may utilize the same and / or different hardware processors located in the same or different locations.
[0150] The imaging device 114 is configured to acquire image data of the object 112 to be inspected. The object 112 may be part of the area 105 under observation, such as a part of the human body or a part of a machine to be evaluated. The imaging device 114 may receive light and convert the light information into image data.
[0151] The imaging device 114 may include, but is not limited to, one or more of the following components: an endoscope 123 or other housing, a variable focus lens 125, a lens controller 127, a camera controller 135, a prism 131, a camera sensor 133, a focusing optical element 129, and / or a synchronization device 137. In some embodiments, the imaging device 114 may further include illumination components. The components of the imaging device 114 may be arranged to produce a rapid change in the focus of the object 112 in order to collect image data at one or more depths of focus. The change in focus may be achieved by a lens controller 127 that causes the variable focus lens 125 to change focus from at least a first setting to at least a second setting so that the camera sensor 133 can capture image data at each setting, as described herein. This operation may be controlled at least in part by a synchronization device 137 and / or an image sensor controller 113. Additional optical elements, such as a focusing optical element 129 and a prism 131, may be used additionally as part of the system, as described herein.
[0152] The image sensor 133 is sometimes called a photosensor or sensor chip. In some cases, the minimum resolution of the image sensor is 1080 × 1920 pixels. The image sensor 133 may also be a complementary metal-oxide-semiconductor (CMOS) sensor, also known as a complementary symmetric metal-oxide-semiconductor (COS-MOS) sensor. Furthermore, the image sensor may be a charge-coupled device (CCD) sensor. When a CMOS sensor is used, the image data may be a voltage signal output by the image sensor. In some cases, each pixel of the image sensor may have a specific voltage signal; that is, the CMOS sensor may output a digital signal. When a CCD sensor is used, the image data may be a charge signal. Because voltage signals are less susceptible to degradation by electromagnetic fields, a CMOS sensor is sometimes used as the image sensor. The image sensor may also be indium gallium arsenide (InGaAs) for short-wave infrared imaging. Indium gallium arsenide (InGaAs) (or indium gallium arsenide, GaInAs) is a ternary alloy (compound) of indium arsenide (InAs) and gallium arsenide (GaAs).
[0153] The imaging device 114 may be controllable by commands received from the image controller 113. For example, the image acquisition settings may be set by the image controller 113. In some embodiments, the image controller 113 may be configured to change the image settings between a first image setting and a second image setting in a short period of time, such as less than 100 ms. The imaging device 114 may have a plurality of configurable image settings. The image settings may include, but are not limited to, depth of field, focal length, exposure, illumination, image acquisition speed, image acquisition timing, and other settings related to imaging the object 112 and / or its surroundings, or combinations thereof. The imaging device 114 may be configured to acquire first image data of the object 112 with a first set of image settings and second image data of the object 112 with a second set of image settings. The first set of image settings and the second set of image settings may be different from each other and / or may be subject to change during use of the imaging system. Therefore, in some embodiments, the first image data and the second image data may represent different images due to at least different image settings.
[0154] One or more hardware processors 120 may include, but are not limited to, computer processors programmed to execute instructions to process and / or output data and / or control signals or information to cause other components of the imaging system 100 to operate differently. For example, one or more hardware processors may include one or more data processors 115. The imaging device 114 may be configured to transfer image data directly or indirectly to the data processor 115. The data processor 115 may be configured to receive first image data and second image data and transfer the received data to an output. The data processor 115 may transfer different images and / or different image data to different output devices 121 and / or components of the system. For example, the data processor 115 may transfer first image data to an image viewer 117 and / or both first and second image data to a 3D engine 116. Furthermore, the data processor 115 may be configured to transfer information to an image controller 113. In some embodiments, the data processor 115 may perform one or more preprocessing and / or processing steps on the data.
[0155] One or more hardware processors 120 may include an image controller 113, which may be a computer system configured to receive, process, and / or output data. The image controller 113 may or may not be the same as, and / or may include, such components as, the components of the controller 103 described with reference to Figure 1A. The output data of the image controller 113 may include commands for controlling other devices and / or components of the imaging system. For example, the image controller 113 may be configured to control the imaging device 114 and / or aspects thereof, such as the optical elements and / or illumination components of the imaging device 114, the timing and / or other aspects of image acquisition by the imaging device 114, and / or other aspects of the operation of the imaging device 114 or related components. The image controller 113 may operate autonomously, semi-autonomously, or by user instruction.
[0156] The image controller, such as controller 113, may be a means for controlling other devices or apparatus. The image controller 113 may be hardware, software, or both. The image controller may be configured to output commands to the image sensor regarding when and how image data should be acquired. The commands may indicate when the image data should be acquired and under what image settings the image data should be acquired. In other words, the image controller 113 may output commands indicating when to acquire the first image data and when to acquire the second image data. In particular, the image controller may output commands indicating the image settings under which the second image data should be acquired, for example, how to change the focus relative to the first image data. The commands may further indicate the timing and / or amount of image data to be acquired. The image controller 113 may be in communication with the imaging device 107. The image controller 113 may be configured to control optical and / or mechanical systems (optomechanics), such as a liquid lens, iris adjustment and / or piezoelectric adjustment system.
[0157] One or more output devices 121 may be configured to receive, process, and / or display image data. For example, output device 121 may include an image viewer 117 and / or a 3D engine 116. The image viewer 117 may be configured to display image data and / or depth map data. In another example, output device 121 may additionally or alternatively include a 3D engine 116. The 3D engine 116 may be configured to generate a depth map of an object 112 based on at least a portion of the image data. The 3D engine 116 may be a device such as a computer, which may use image data as input and a depth map as output.
[0158] B. Hardware Configuration Example Figure 2 is a schematic perspective view of an exemplary imaging device 210, which may include an endoscope according to several embodiments. The imaging device 210 includes an imaging system within a housing 220. The endoscope has a shaft member 213 having a distal end 202. An optical channel is provided within the shaft member 213. The imaging device 210 may include a light source configured to emit light from the distal end 202 of the imaging device 210. The shaft may have a light guide configured to guide light to the tip of the shaft. The light guide may have a circular shape (e.g., a ring shape) surrounding the image path in a cross-section of the shaft. This allows sufficient light to be emitted at the tip of the shaft.
[0159] The imaging device 210 may be a device that can be used in conjunction with multiple imaging systems. For example, the imaging device 210 may be located inside the camera head of an endoscope or at the tip of the endoscope. A camera can also be attached to the imaging device. The imaging device may also be located inside or on top of a surgical microscope. The imaging device 210 may be mounted independently on the microscope or on a beam splitter to allow the user to view images through the optical elements. When used with a binocular microscope, the imaging device 210 may be mounted in one or both optical paths. The imaging device may be applied in the surgical field.
[0160] In particular, the use of the imaging device 210 can improve surgeries performed using minimally invasive techniques such as laparoscopic surgery. However, surgeries may also be performed using a microscope or open surgery. The imaging device 210 may also be used in open surgery. In such cases, the image sensor may be mounted on a holder and targeted to the surgical site. The imaging device 210 may also be advantageously applied to robotic surgery. The depth map (i.e., 3D reconstruction) generated by data acquisition by the imaging device 210 may help the robotic arm move with greater precision to avoid unintended damage.
[0161] Depending on the circumstances, the imaging device 210 may include one or more imaging sensors. Figures 3A and 3B show one embodiment of the imaging device 210 having a single sensor. A single-sensor device may offer the advantage that the entire system can be very compact. Additional optical paths and mechanisms may not be required. However, multiple sensors may offer advantages, for example, in terms of hyperspectral imaging and / or improved system efficiency. Figures 4A and 4B show one embodiment of the imaging device 210 having multiple sensors.
[0162] 1. Exemplary hardware configuration with a single sensing area Figure 3A is a schematic diagram of an exemplary imaging device 210 according to several embodiments. The imaging device 210 may be an endoscope. The endoscope 210 may or may not include imaging components inside, as described with reference to Figure 1B in relation to the imaging system 100.
[0163] In the illustrated example, the imaging device 210 may include, but is not limited to, a camera head 211, a connecting member 212, and a shaft member 213, as well as a plurality of other components. The imaging device 210 may also include a distal end 202 and a proximal end 206.
[0164] The distal end 202 of the imaging device 210 may include the distal tip 205 of the shaft member 213 and / or be configured to enter a cavity, or otherwise to contact or enter the field of view of an area under observation, such as a surgical site. The distal tip 205 may be flat and / or inclined. Preferably, an inclined tip (sometimes referred to herein as an inclined endoscope) may allow a larger area to be observed by rotation of the tip 205 than if there is no inclined tip.
[0165] The proximal end 206 of the imaging device 210 may be configured to be outside the area under observation and / or may be held and / or manipulated by a user of the imaging device 210, such as a person, a robotic arm, or other holder. The proximal end 206 may include a camera head 211 and / or a connecting member 212. The camera head 211 and / or its embodiment may be configured to rotate independently of the shaft member 213 so that the image orientation is maintained during output while rotating. This can be particularly advantageous when using an inclined endoscope, as, as previously mentioned, rotating the shaft 213 using an inclined endoscope allows viewing of a larger area under observation, such as area 105 as described with reference to Figure 1A. If the imaging system 200 is independent of the shaft 213, the shaft 213 can rotate independently of the image sensor 204. In this way, the image orientation is maintained for the user.
[0166] The imaging system 200 may be located within the camera head 211 of the imaging device 210. The focusing mechanism 214 may be located within the connecting member 212 and / or the camera head 211. Optical information is transmitted from the distal tip 205 to the shaft member 213 toward the focusing mechanism 214 and the sensor 204 located within the camera head 211. The shaft member 213 may include an optical terminal for connecting an external light source. In some embodiments, one or more hardware processors 201 may be incorporated into the device 210.
[0167] In the illustrated embodiment, the focusing mechanism 214 includes a liquid lens 217. The liquid lens 217 is configured to change the focal length in a short period of time, such as less than 100 ms. Therefore, a change between a first image setting (e.g., a setting to acquire an image at a first depth of field) and a second image setting (e.g., a setting to acquire an image at a second depth of field) can be made quickly without interfering with a user who prefers to view the object under observation with the first image setting.
[0168] In some cases, a piezoelectric drive 215 (or piezoelectric drive) may be provided on the imaging device 210. The piezoelectric drive 215 may be provided in combination with the liquid lens 217, or as an alternative. The piezoelectric drive 215 may be configured to support the camera head 211 so as to move the sensor 204 relative to the focus mechanism 214. In this way, the focal length of the system 210 can be adjusted. More specifically, by operating the piezoelectric drive 215, an image controller, such as the image controller 113 referenced in Figure 1B, may transmit a control signal to change the settings of the sensor 204 between a first image setting and a second image setting. The piezoelectric drive 215 may be controlled so that each image setting can be implemented in less than 100 ms. Furthermore, the piezoelectric drive 215 can set the desired image setting with great precision.
[0169] Figure 3B is a schematic diagram of some exemplary imaging devices according to several embodiments. In the exemplary embodiment of Figure 3B, the sensor 204 is located within the shaft member 213. The focusing mechanism 214 is also located within the shaft member 213. The imaging device 114 is connected to the imaging system 200 via wired or wireless means. The focusing mechanism 214 in the exemplary embodiment includes a liquid lens 217 which may allow for adjustment of image settings in a short time, such as less than 100 ms. When an inclined endoscope is used in this configuration, the image sensor 204 may be configured to rotate with the endoscope shaft 213. Then, to improve the user experience, the movement of the shaft 213 may be tracked and the orientation of the sensor 204 may be corrected mechanically, electronically, or by software.
[0170] 1. Exemplary hardware configuration with multiple sensing areas Figures 4A and 4B are schematic diagrams of exemplary imaging devices 210 according to several embodiments. Figure 4A shows a side view of the imaging device 210, and Figure 4B shows a cross-sectional view of the imaging device 210. The imaging device 210 may be an endoscope. The imaging device 210 may include, but is not limited to, a camera head 211, a connecting member 212, and a shaft member 213. The imaging device 210 may include a distal end 202 and a proximal end 206.
[0171] The endoscope 210 may or may not include one or more imaging components inside, as described with reference to Figure 1B in relation to the imaging system 100. In the illustrated example, the imaging device 210 includes a plurality of image sensors 404 and one or more alignment optical elements 402. The plurality of sensors may be located within the camera head 211 and / or in another area of the imaging device 210. One or more alignment optical elements 402 may be configured to direct light 406 toward one or more of the plurality of sensors 404.
[0172] Preferably, the multiple sensors may include two or more sensor types, and may have different sensor settings, different optical paths, different filters, different resolutions, different pixel sizes, etc., or a combination thereof. In some embodiments, additional optical elements, such as one or more alignment optical elements 402, may include different coatings associated with different sensors and / or optical types. Thus, the imaging device 210 may be configured to detect light at multiple settings and / or wavelengths while sharing an initial optical path. This compact arrangement of imaging components may enable additional imaging such as hyperspectral and / or fluorescence imaging (in addition to depth mapping and / or other types of imaging). In some embodiments, one or more sensors 404 may be dedicated sensors for different types of imaging, such as live observation, depth mapping, hyperspectral, and / or fluorescence imaging.
[0173] As shown in Figures 4A and 4B, the multiple sensors 404 may be arranged around the initial optical path. For example, the multiple sensors 404 may be arranged in a ring array on the camera head 211. In some implementations, the multiple sensors 404 may include a sensor array and / or a single sensor surrounding an optical path having an aperture that allows light 406 to pass through before being redirected to the sensing area of the sensor 404. The sensor 404 may be mounted on the camera head 211 and / or a rotating wheel. The sensor 404 may be flat, angled, or oriented to receive light reflected from one or more alignment optical elements 402. The multiple sensors 404 may be located distally and / or proximal to the camera head 211. In the example shown in Figures 4A and 4B, the sensors are located distally to the camera head 211.
[0174] One or more alignment optical elements 402 may be configured to receive light from an optical path and direct the light to one or more of a plurality of sensors. One or more alignment optical elements 402 may be located at the center of the imaging device 210, for example, along the longitudinal axis. However, other arrangements are also possible. For example, but not limited to, one or more alignment optical elements may include any combination of optical elements at different positions and / or arrangements within the imaging device 210. In some embodiments, one or more alignment optical elements 402 may be movable, such as being tiltable or rotatable, so that the light can be directed to a desired sensor 404. The movement of one or more alignment optical elements 402 and / or sensors 404 may be high-speed so that switching between sensors can occur in a few milliseconds or less.
[0175] In an exemplary embodiment shown in Figure 4A, one or more alignment optical elements 402 represent mirrors that can be tilted and / or rotated to guide light 406 from the initial optical path in the camera head 211 toward a desired sensor 404 such as 404A, 404B, 404C, 404D, 404E, 404F, or 404G.
[0176] Figures 4C and 4D show examples of optical paths based on changes in the orientation of the mirror 508. For example, as shown in Figure 4C, light 406 may be directed towards sensor 404A along a first optical path P1 when the mirror 508 is in a first orientation, and as shown in Figure 4D, light 406 may be directed towards sensor 404B along a second optical path P2 when the mirror 508 is in a second orientation. In some embodiments, one or more alignment optical elements 402 may be stationary, and the sensor 404 may be configured to move to align light toward the sensor 404. The movement of one or more alignment optical elements 402 may be achieved by mechanical, electronic, manual, and / or automatic or semi-automatic means.
[0177] One or more alignment optical elements 402 may include, but are not limited to, mirrors, prisms, or combinations thereof. For example, one or more alignment optical elements 402 may include mirrors as shown in Figure 4A, prisms as shown in Figures 5A to 5B, and / or any combination thereof as shown in Figures 5C and 5D. In the exemplary embodiment shown in Figure 4A, one or more alignment optical elements 402 include rotatable and / or tiltable mirrors that can move to facilitate the alignment of light 406 with one or more sensors 404A, 404B, 404C, 404D, 404E, 404F, and 404G as shown in Figure 4B. In the embodiment shown in Figure 5A, one or more alignment optical elements 402 include a rotatable and / or tiltable prism 502 capable of receiving light 406 and directing the light toward one or more sensors 404A, 404B, 404C, 404D, 404E, 404F, and 404G as shown in Figure 4B, with the sensor 404 positioned near the prism 502. In the embodiment shown in Figure 5B, one or more alignment optical elements 402 include a rotatable and / or tiltable prism 504 having a mirror surface 505 capable of receiving light 406 and directing the light toward one or more sensors 404A, 404B, 404C, 404D, 404E, 404F, and 404G as shown in Figure 4B, with the sensor 404 positioned distal to the prism 504.
[0178] Preferably, a particular arrangement of one or more alignment optical elements 402 and one or more sensors may allow the sensors to be mounted on a flat surface (rather than at angles that may be required by the arrangements of one or more as described with reference to Figures 4A to 5B). In the exemplary embodiment shown in Figure 5C, one or more alignment optical elements 402 may include a rotatable and / or tiltable mirror 510 and / or prism 512 that receive light 406 and guide the light toward one or more sensors 514 that are coupled to and / or aligned with a surface of the prism 512, such as the normal side 516 of the prism 512. In the exemplary embodiment shown in Figure 5C, one or more alignment optical elements 402 may include a rotatable and / or tiltable mirror 510 and / or one or more further optical elements 520, which may include a plurality of prisms and / or other optical elements that facilitate alignment with a plurality of sensors 518 coupled to and / or aligned with a surface of an optical component 520, such as a vertical plane, depending on the inclination and / or orientation of the mirror 510.
[0179] Two or more sensors can be mounted on the prism, allowing image data to be collected in parallel from both. At least one of the sensors may be a visible light sensor in this exemplary embodiment. First image data can be collected using one sensor, and second image data can be collected using a second sensor. These sensors are also interchangeable.
[0180] Figure 5E shows an exemplary embodiment of the imaging device 210. Figure 5E shows a side view of the imaging device 210. The imaging device 210 may be an endoscope. The imaging device may include, but is not limited to, a camera head as illustrated and / or described in any of Figures 3A to 4B, a connecting member 212 as illustrated and / or described in any of Figures 3A to 4B, and a shaft member as illustrated and / or described in any of Figures 3A to 4B. The imaging device 210 may receive an optical input, which may include light of one or more wavelengths. For example, in some embodiments, the imaging device 210 may receive a combination of optical wavelengths, such as wavelengths corresponding to visible light and / or wavelengths corresponding to NIR, or any other wavelengths suitable for imaging. The imaging device 210 may include a distal end 202 and a proximal end 206.
[0181] The imaging device 210 may or may not include one or more imaging components internally, as described with reference to Figure 1B in relation to the imaging system 100. In the illustrated example, the imaging device 210 includes a plurality of image sensors 404 as illustrated and / or described in Figures 4A to 5B and one or more alignment optical elements 402 as illustrated and / or described in Figures 4A to 5D. The plurality of sensors may be arranged in the camera head 211 and / or in another area of the imaging device 210, as described herein. One or more alignment optical elements 402 may be arranged in the camera head 211 and / or in another area of the imaging device 210. For example, the plurality of sensors 404 and / or one or more alignment optical elements 402 may be arranged at least as illustrated and / or described in Figures 4A to 5D. One or more alignment optical elements 402 may be configured to direct light 406 toward one or more of the plurality of sensors 404.
[0182] The imaging device 210 may include a plurality of image sensors, such as any of the sensors described herein. In the exemplary embodiment shown in Figure 5E, the imaging device includes a first sensor 404A and a second sensor 404B. However, this is not intended to limit the imaging device 210 to any number of sensors for collecting image data. Sensors 404A and 404B may be located at the distal or proximal end of the camera head 211. In the illustrated example, sensors 404A and 404B are located at the proximal end of the camera head 211. Sensors 404A and 404B may be positioned in alignment with the initial optical path and / or around the initial optical path. In the illustrated example, sensor 404A is positioned in alignment with the initial optical path and sensor 404B is positioned around the initial optical path.
[0183] In some embodiments, sensor 404A may be configured to collect first image data. In some embodiments, sensor 404B may be configured to collect second image data. The first image data may be different from the second image data. For example, the first image data may be associated with light having one or more wavelengths different from the wavelengths associated with the second image data. In some examples, the first image data may be associated with visible light. In some examples, the second image data may be associated with NIR and / or visible light.
[0184] The imaging device 210 may include an alignment optical element 402 comprising a prism 502. The prism 502 may include one or more features and / or functions as described herein in relation to any of the prisms illustrated and / or described in Figures 5A to 5D. The prism 502 may be located at the center of the imaging device 210, for example, at a point along the longitudinal axis. However, other arrangements are also conceivable. In the exemplary embodiment of Figure 5E, the imaging device 210 includes a single prism 502. However, this is not intended to be limiting. The imaging device 210 may include any number of prisms, for example, a combination of multiple prisms and / or alignment optical elements 402 located at different positions on the imaging device 210.
[0185] In some embodiments, the prism 502 may be movable, such as being tiltable or rotatable, to direct the light to a desired sensor 404. The movement of the prism 502 may be fast-moving, so that switching between sensors can occur in a few milliseconds or less. In some embodiments, the prism 502 may be implemented as a beam splitter. In some embodiments, the prism 502 may include a mirror, such as a mirror 505 as shown and / or described in Figure 5B. Sensors 404A and 404B may be positioned proximal to the prism 502, or positioned to receive light 406 from the prism 502. The prism 502 may be configured to receive light 406 from the optical path and direct the light 406 towards sensors 404A and / or 404B.
[0186] The imaging device 210 may include a focusing mechanism 214 as illustrated and / or described in Figures 3A to 3B. The focusing mechanism 214 may be located at the center of the imaging device 210, for example, along the longitudinal axis. However, other arrangements are also possible. The focusing mechanism 214 may be configured to receive light 406 from the initial optical path and focus the light 406 toward the prism 502. The imaging device 210 may include a liquid lens 217 as illustrated and / or described in Figures 3A to 3B. The liquid lens 217 may be located at the center of the imaging device 210, for example, along the longitudinal axis. However, other arrangements are also possible. The liquid lens 217 may be configured to change the focal length of the imaging device 210 in a short period of time, such as less than 100 ms.
[0187] A stereoscopic system consisting of two independent but closely spaced image paths can also be used (see, for example, Figures 5F to 5G). Figures 5F to 5G show exemplary image paths of an imaging device (e.g., device 210) that can include a first image path 530 and a second image path 532. The shaft member 213 can include the first image path 530 and the second image path 532. For example, the first and second image paths 530, 532 may extend along the shaft member 213, such as along the longitudinal axis of the shaft member 213. The first and second image paths 530, 532 may extend from the distal end 205 of the shaft member 213 toward the proximal end (e.g., proximal end 206) of the imaging device. The first image path 530 may be spaced apart from the second image path 532. The first image path 530 can be spaced sufficiently close to and far enough from the image path 532 such that many (or most) image features associated with each path are the same or substantially the same.
[0188] The first image path 530 may be formed in a first channel extending along the shaft member 213. The channel may include a first diameter. The second image path 532 may be formed in a second channel extending along the shaft member 213. The second channel may include a second diameter. As described herein, the first and second channels may be spaced apart, but may be spaced close enough to each other that the image features associated with each image path are the same or substantially the same. The first and second diameters may be the same or substantially the same. In some embodiments, the first and second diameters may be different. For example, the first diameter may be larger than the second diameter so that the first image path 530 can provide first image data for generating a higher quality image for display to the user. The second diameter may be smaller than the first diameter so that the second image path 532 can provide second image data corresponding to a lower resolution. For example, the second image data may not be displayed to the user in the form of an image. The first image path 530 and the second image path 532 may be discrete (for example, isolated from each other) so that the light 406 incident on the first image path 530 does not interact with the light 406 incident on the second image path 532, and vice versa.
[0189] The first image path 530 can be configured to receive light 406 (for example, light reflected from the observation area or light near the observation area) and to guide the light 406 along the image path toward a first sensor such as sensor 404A. Sensor 404A can be configured to collect first image data. The second image path 532 can be configured to receive light 406 and to guide the light 406 along the image path toward a second sensor such as sensor 404B. Sensor 404B can be configured to collect second image data. The first and second image paths 530, 532 may guide light of the same or different wavelengths. In some embodiments, the first image path 530 may be configured to guide light wavelengths corresponding to visible light along the image path. In some embodiments, the second image path 532 may be configured to guide light wavelengths corresponding to NIR and / or visible light along the image path.
[0190] The first image data may be different from the second image data. For example, the first image data may be associated with a different wavelength of light than the wavelength of light associated with the second image data. In some embodiments, sensor 404A may be configured to collect first image data that can be associated with a wavelength corresponding to visible light. In some embodiments, sensor 404B may be configured to collect second image data that can be associated with a wavelength corresponding to NIR and / or visible light. However, this is not intended to limit, and sensors 404A, 404B may be configured to collect image data associated with any available type of light suitable for imaging (e.g., any available wavelength of light).
[0191] In some embodiments, the image sensors may be located within their respective image paths. For example, sensor 404A may be aligned with the initial image path 530, and sensor 404B may be aligned with the initial image path 532. In some embodiments, sensors 404A and / or 404B may be located around the initial image paths 530 and 532, respectively. For example, the imaging device may implement various arrangements and / or combinations of sensors and / or alignment optical elements (e.g., illustrated and / or described in Figures 3A to 5E) to guide light from the image paths 530 and 532 to the respective sensors 404A and 404B. In some embodiments, sensors 404A and / or 404B may be located at the distal end of the imaging device (e.g., distal end 202), such as within the shaft 213. In some embodiments, sensors 404A and / or 404B may be located at the proximal end of the imaging device (e.g., proximal end 206). For example, the sensors 404A / 404B may be located within the camera head of the imaging device (e.g., camera head 211).
[0192] Such a system (e.g., the exemplary imaging device in Figures 5F-5G) can overcome the limitations of lack of texture in current stereoscopic systems. This could also allow the stereoscopic imaging system to be rotated. Current hardware-based 3D imaging systems cannot be fully rotated because the human brain primarily processes horizontal parallax. If the two image paths deviate significantly from the horizon, the brain becomes confused, and the user must tilt their head. When the two image paths (e.g., image paths 530 and 532) are close together, most of the image features in both image paths are the same or substantially the same. Using feature mapping, the two images (e.g., one image from each image path) can be matched to generate depth information. Since the distance between the two sensors (e.g., sensors 404A and 404B illustrated and / or described in Figures 4A-5G) is known, a correction factor can be applied to account for the shift.
[0193] 1. Examples of hyperspectral imaging Preferably, the imaging system 210 having multiple sensors and / or sensing areas, as described with reference to Figures 4A to 5G, may be a hyperspectral imaging system. Hyperspectral imaging is a type of imaging that collects information across a wide spectrum of light wavelengths for each pixel in an image of a scene. Preferably, this technique allows for obtaining additional information about the scene under observation. Thus, the use of multiple sensors, each configured to collect imaging information across different wavelength ranges, may allow the imaging system to provide clinicians with additional information that can improve their workflow.
[0194] However, while hyperspectral imaging offers significant advantages in diagnosis and treatment in clinical settings, this type of imaging can present numerous challenges when integrated into clinical workflows. For example, hyperspectral imaging generally requires a narrower bandwidth compared to conventional imaging, which typically uses three bands in the visible spectrum, such as RGB. The amount of light available for imaging can be limited due to constraints such as illumination power, lens diameter, sensor pixel size, pixel count, frame rate, and other considerations. To obtain sufficient data for hyperspectral imaging, conventional hyperspectral cameras generally rely on lower frame rates to allow for longer image acquisition times. This can reduce the frame rate of the video stream capturing the data. Therefore, live observation of data captured using a hyperspectral imaging system can be unpleasant for the user and may be impractical due to very low frame rates (e.g., less than 20 frames / second). Furthermore, hyperspectral imaging cameras may have higher noise levels and lower resolution (for example, conventional systems generally use a pixel matrix to capture images that can be, for example, 4x4, 5x5, or 3x3 in size). Clinicians typically require higher quality imaging for surgical applications that may necessitate precise tissue manipulation. Furthermore, users often need to work in visible light. For example, hyperspectral imaging may be useful for less than 30% of the time during a clinician's patient analysis.
[0195] Due to these limitations, hyperspectral imaging is often part of a separate imaging system from that used for visible light and / or fluorescence imaging. Current combined solutions may involve using a beam splitter to split the light into two or more optical paths, diverting some of the light to a hyperspectral imaging sensor. However, a drawback of this technique is that splitting always occurs, even when hyperspectral imaging is not required. This has the effect of reducing the amount of light available for visible light imaging. Furthermore, the availability of light for hyperspectral imaging may still not be optimal, potentially leading to the need for further reductions in the frame rate. A combined effect is that the effectiveness of the combined system may be reduced. In addition, attempting to perform fluorescence imaging in the visible spectrum can be difficult because filters are used to block the excitation light, altering the true color of the area to be observed.
[0196] Some embodiments of the devices, systems, and methods disclosed herein include a single, compact system for combined imaging that helps improve color accuracy and enhance the effectiveness of combined hyperspectral imaging. Furthermore, the devices, systems, and / or methods may be designed to enable different types of imaging according to user needs, such as the type of treatment or diagnosis. Moreover, switching between imaging types can be done quickly, allowing the user's workflow to continue uninterrupted or with minimal interruption. The system can also be configured to be compact and / or flexible. This form factor can reduce the space required in the operating room, as well as the costs of disinfection and sterilization when the system is used in a surgical environment. The system is also short in length, which is important for robotic imaging where the possibility of collision is higher. While having many features available in a single system can improve access to treatment for patients, conventional systems generally require multiple imaging systems to achieve this.
[0197] For example, exemplary mechanical arrangements of alignment optical elements in a multi-sensor system, as described elsewhere in this specification in Figures 4A to 5G, may include at least one movable mirror, digitally operated mirror, prism, or other movable component mechanical arrangements that can be used to change the optical path to allow for flexible use of the optimal sensor during device use.
[0198] Preferably, the use of fast-changing or switching optical elements, such as digital mirrors, enables the use of two or more sensors without compromising optical efficiency and provides better imaging quality for all imaging modalities. This is due, for example, to the absence of the need for a beam splitter in such a configuration. These mirrors can switch very quickly (e.g., typically less than 10 milliseconds), allowing the user to work relatively uninterrupted. Such switching can be synchronized with the excitation light.
[0199] Furthermore, the efficiency can be improved by activating the sensing area for specific fluorophores. This is particularly useful for fluorescence imaging in the visible spectrum and for fluorophores whose excitation and emission wavelengths are very close to each other (making it difficult to distinguish them without significant loss of efficiency). For example, some fluorophores emit red light. A typical RGB visible sensor has only 25% of its pixels to detect red. Therefore, the resulting resolution is reduced by 75%. When a dedicated sensing area is used, the sensing area has a 100% red filter, allowing full resolution to be obtained without compromising efficiency. The size of the pixels within this sensing area can also differ from that of the visible sensor to obtain better quantum efficiency. Additionally, the focal length can be changed using adjustable lenses to increase the amount of light per pixel. These features can enable improvements in the overall efficiency of the imaging system.
[0200] In some implementations, the imaging system can be optimized to use one large sensor instead of multiple sensors. The controller can then select the appropriate region of interest for the sensor / scene chosen for scanning. This setup can make the system even more compact, reducing the overall number of components and potentially lowering the manufacturing cost of the imaging system.
[0201] In some implementations, the imaging system may manipulate alignment optics to direct the optical path of incident light toward a specific sensor and / or sensing area of the imaging system, such as one of the multiple sensors 404A to 404F shown in Figure 4B. Different sensing areas and / or sensors may have different filters for sensing different wavelengths. This setup enables, for example, the sensing of fluorescence of different fluorophores and / or the sensing of hyperspectral imaging. Different regions of interest can be selected depending on the needs of the modality used. Smaller regions of interest can help with faster data acquisition and processing by reducing the amount of data.
[0202] The system controller may instruct the switching of the optical path based, for example, on user actions, predetermined logic, or other prompts. The switching may be variably controlled, and the optical path can be changed as needed.
[0203] C. Exemplary Data Processing Figure 6A shows an exemplary software controller 600 for any of the imaging devices, systems, and / or methods described herein. The software controller 600 may include, or not include, some or all of the controller 103 and / or other controllers and / or processors or engines described herein. The software controller 600 includes one or more hardware processors and / or engines and / or processes that may be implemented on one or more computing devices, which may be local and / or cloud-based.
[0204] The software controller 600 may include, but is not limited to, an image processing engine 602, a data processing engine 604, a 3D engine 606, a surgical robot control engine 608, a timing control engine 610, a stereo image engine 612, an AR navigation engine 614, an illumination control engine 616, and an imaging control engine 618.
[0205] Figure 6B is a block diagram illustrating the general configuration of some embodiments of the imaging system described herein and / or the interactions between different processes, which may be part of a software controller 600 as shown in Figure 6A. On the left side 640 of Figure 6B are depicted an imaging device 650 and a light 652, which may be configured to interact with and / or measure an object under observation. In the center 642 are various control and / or data processing engines. The control and / or data processing engines may be configured to transmit and / or receive data and / or signals to and from one or more system components, such as the imaging device 650, the light 652, a surgical robot (not shown in Figure 6B), and / or an output device such as a 2D / 3D viewer 654.
[0206] The imaging device 650 may be configured to convert optical information into data information. The data information may be transferred to the image control engine 618. The image control engine 618 may include a plurality of processing engines and / or processes, such as a preprocessing engine 601 (sometimes referred to herein as a raw data processor) and an image processor 602. The image control engine 618 is configured to output the processed image to the data processing engine 602. Furthermore, the image controller may output image settings (i.e., a first image setting and a second image setting) to the data processing engine 602.
[0207] The data processing engine 602 may output image data obtained by the imaging device 650, such as first image data and second image data, for further processing. More specifically, the data processing engine 602 may output the first image data directly to the 2D / 3D image viewer 654 (not shown in Figure 6B) and / or pass the data to an additional processing engine. The 2D / 3D image viewer 654 is configured to realize objects for the user in 2D and / or 3D.
[0208] In some implementations, the data processing engine 602 may pass the processed image data to the 3D engine 606. The 3D engine 606 may include one or more processes for generating a depth map based on the image data. Non-limiting examples of depth map generation processes are described herein with reference to at least Figures 7A to 7D. The 3D engine 606 may optionally be further configured to output the depth map to a surgical robot controller 608 that can control a robot controlling an instrument or endoscope 210. Furthermore, the 3D engine 606 may be configured to output the depth map to the AR navigation engine 614. The AR navigation engine 614 may be configured to overlay the depth map with further image data, such as previously captured image data and / or data received from external means or other sources. The overlay information may then be transferred to the stereo imaging engine 612. The stereo imaging engine 612 additionally and / or alternatively receives information directly from the 3D engine 606. Subsequently, the output of the stereo image engine 612 may be transferred to the 2D / 3D image viewer 654 to depict the image information in 2D or 3D for the user.
[0209] The 3D engine may be further configured to determine errors in the depth map. The determined errors may then be transferred to the data processing engine 602. The data processing engine 602 may communicate with the image control engine 618 and provide timing requests based on the errors determined by the 3D engine. In addition, a timing controller 610 may be provided, configured to determine when further second image data should be acquired by the imaging device 650. In other words, the image control engine 618 may control the imaging device 650 and associated optical and mechanical systems based on feedback control. A light source controller 616 is also provided. The timing controller 610 may be configured to output timing to the light source controller 616. The light source controller 616 is configured to control the light source 652. The light source controller and timing controller 17 may be implemented in the image control engine 618. The image processing engine 602, data processing engine 604, 3D engine 606, stereo image engine 612, AR navigation engine 614, and / or other processes or engines may be separate or combined. A single computer processor or graphics processing unit may perform all of these tasks.
[0210] Image data may be the output of the imaging device 650. A rapid image acquisition system can be incorporated into the imaging device 650, which may be controlled by an image control engine 618. The controller sends commands to the imaging sensor to capture images optimized for different purposes. For example, one image (first image data) may be optimized for display at the primary focus, and another image (second image data) may be optimized for depth analysis captured at a shifted focus. For example, the image optimized for display (first image data) may be defined by having at least 40% of the image area in focus within 25% accuracy of the focal plane distance from the tip of the imager to the object. In tubular structures such as the nose or urethra, it may be difficult to obtain a wide focal area simultaneously. However, in some cases, only a portion of the image may be important to the user. Furthermore, at least 40% of the image should have a luminosity level in the range of 20% to 90% of the peak value. This ensures that the primary focus remains in the area of interest with appropriate brightness for clear visualization. These commands may include timing information, focal length, or focus shift or shutter speed. The primary focus may be determined by the user or automatically by the system, and is typically centered on the area of manipulation or incision. The system may provide various methods for determining the primary focus or region of interest. These may be direct or indirect, such as the type of surgery or the instruments used. In surgery, this is often the central part of the image or the location of instruments within the image. The surgeon primarily views the image captured at the primary focus (first image data), which may be fixed or dynamically adjusted during surgery (definition of focus based on missing graphs). Image data that does not meet the criteria for first image data may be classified as second image data.
[0211] Image data may include luminance information in one or more color channels. A color channel may represent a specific light spectrum. For example, image data may include information for a green channel, an RGB color channel, and / or an IR (infrared) color channel. An RGB color channel is considered to include a green channel, a red channel, and a blue channel. Furthermore, an image sensor may provide image data containing information for different color channels. For example, the color channels of an image sensor may be NIR-NIR, RGB-RGB, green-green, NIR-RGB, green-NIR, or green-RGB. In this case, each color channel may be defined by a different wavelength band. For further processing of the image data, the imaging device may include a data processor, or may be connected to or connectable to a processing unit (e.g., a computer) or a control unit. The data processing engine 604 may be configured to further process the image data. For example, the data processing engine 604 may determine information contained within the image data, such as a histogram showing the luminance distribution. The data processing engine 604 may be configured to improve the acquired image data by applying noise reduction and / or sharpness enhancement algorithms. Furthermore, the data processor may improve the dynamic range of the image data to make it more suitable for analysis and / or observation. Additionally, the image data may include images or photographs depicting the object. To address poor lighting conditions, the imaging device may have a light source configured to illuminate the object to be imaged. For example, the imaging device may be connectable to an external light source and configured to control the light source. More specifically, the light source may be coupled with an additional waveguide configured to direct the light from the light source to the object to be imaged.
[0212] Image settings may indicate boundary conditions for acquiring image data; that is, image settings may affect the image data. Image settings may be set by the image sensor and / or other devices. Image settings may include aperture, depth of field, light, shutter speed, and / or focal length. Image settings may indicate one or more of the above characteristics. Image data may be modified in accordance with changes in image settings.
[0213] Switching of image settings may occur when at least one condition defined by the image settings changes. In this way, the second image data may be used to improve the depth map and / or 3D reconstruction. For example, if the first image data has a different focus (i.e., a different focal plane) than the second image data, the first image settings are different from the second image settings.
[0214] The process of switching between the first and second image settings may also be a process of changing at least one of the boundary conditions involved in the image data. That is, the switch may be completed when the image setting is switched from the first condition (e.g., the condition under which the first image setting is implemented) to the second condition (e.g., the condition under which the second image setting is implemented). Image data may be acquired under both the first and second conditions. The switch can be performed in less than 100ms. By performing the above image setting (e.g., focus) switch, the focus may be changed in less than 100ms, one or more frames may be captured (e.g., second image data), and the focus may be returned to the original focus. All of this may occur in less than 300ms at most. This sequence of changing the image setting, capturing image data, and switching the focus back to the original image setting may be called capture sequence B (e.g., second sequence). Since this sequence B occurs in a very short time, the user can work without affecting the workflow. Image data that does not have the first image setting may be called image B (second image data). A sequence B may contain image data with a different second image setting (e.g., focal length). Image data taken with the first image setting may be called sequence A (first sequence). For example, a liquid lens may change the image setting (e.g., focal length) very quickly. Alternatively or additionally, a piezoelectric drive may also change the image setting very quickly and maintain high accuracy by operating very quickly over a short distance. Thus, a piezoelectric drive may be implemented to change the image setting. Such a means may allow the target focus to be set in 20 ms (e.g., second image setting), the image data (second image data) to be captured in 20 ms, and the focus to be reset to the original focus in 20 ms (e.g., first image setting). Thus, the entire process may occur in some cases within 60 ms. This time span is so short that it is not perceived by the user, even if the user is actively manipulating the tissue based on the first image data.Switching between the first image setting and the second image setting may be performed according to timing. The timing may be synchronized so that the image setting and the obtained image data correlate with each other. The image sensor may include a shutter. The shutter speed of the shutter may be fixed or variable. A known shutter helps synchronize the image data and the image setting. The data processing engine 604 may be a device configured to receive data, process data, and output data. For example, the data processing engine 604 may be a CPU, GPU or FPGA, or any other processing unit. The data processing engine 604 may be configured to receive image data directly from the image sensor or via an image processor which may be configured to improve the image data for further analysis. The image data may be output by the image sensor or received directly by the data processing engine 604. The data processing engine 604 may then process the image data. This processing may include recognizing which image data is the first image data (image A) and which image data is the second image data (image B). This may be based on an image setting that is also known to the data processing engine 604. Image settings may be input separately to the data processing engine 604, and / or the data processing engine 604 may determine the image settings based on the received image data. The processing may further include separating the first image data from the second image data.
[0215] In other words, the data processing engine 604 may provide the first image data and the second image data as separate output data. To put it another way, the image data stream input to the data processing engine 604 may be processed into two image data streams as output. Therefore, the first and second image data may be transferred to different subsequent processes (e.g., an image viewer and a 3D engine 606). One of these subsequent processes may be implemented by an image viewer. The image viewer can be configured to display a target area (e.g., an object) that the user wants to inspect. The image viewer may be provided with the first image data.
[0216] The controller 600 may coordinate the image acquisition process, thereby triggering focus changes or managing sensor inputs. The controller passes relevant data (e.g., focal length, timing, and illumination settings) to the data processor. The data processor extracts images from the data stream and processes the acquisition parameters. This information is sent to the 3D engine, which uses the depth-optimized images to extract depth information and reconstruct the 3D scene. The components, including the imager, controller, data processor, and 3D engine, may communicate either bidirectionally or unidirectionally to ensure smooth operation.
[0217] The 3D engine 606 may analyze the image clarity and estimate errors, providing feedback on specific areas of the image. This information is relayed back to the data processor, which adjusts the timing, focus shift, or other acquisition settings for subsequent image acquisition. The depth map generated by the 3D engine is provided to the AR navigation engine 614, which correlates it with 3D data from a CT or MRI scan. The depth data is also sent to the surgical robot controller and the stereo imaging engine, which converts the 2D images into 3D images for the user. When the focus is shifted, the size of the image also changes. Such images cannot be shown for use even for a short time. Therefore, these images may be rescaled to other consecutive images (image A) so that the video feed is smooth and normal.
[0218] The video frame rate is typically in the range of 20 to 100 frames per second. Slower speeds (e.g., less than 30 fps) are used in certain scenarios, such as fluorescence imaging, or during periods without active tissue manipulation. In normal use, the imager operates at 60 frames per second. By rapidly adjusting the image acquisition parameters (in less than 100 milliseconds), the focus or sensor can shift to capture depth-optimized images and then return to display-optimized mode. This “acquisition sequence B” takes place within 300 milliseconds and includes one or more depth-optimized images (image B) captured between display-optimized images (image A). Because this sequence is performed so quickly, the surgeon's workflow remains uninterrupted.
[0219] The liquid lens and piezoelectric drive enable rapid and precise focus changes, allowing for quick switching or simultaneous acquisition. For example, a focus shift can be achieved in under 20 milliseconds, an image can be acquired in 20 milliseconds, and the focus can be restored to the main setting in another 20 milliseconds. In total, the process takes approximately 60 milliseconds, minimizing the impact on user interaction.
[0220] This 3D reconstruction process serves various purposes, such as converting 2D video feeds into stereo images to improve visualization, or merging 3D reconstructions with those derived from CT or MRI scans. The system can provide visual or auditory augmented reality feedback to guide surgeons or help prevent accidents during surgery.
[0221] In robotic surgical systems where the imager is held stably, motion blur is minimized, resulting in sharper images with more discernible features for depth reconstruction. Although the instruments may move within the image, their dimensions are generally known, allowing for accurate depth estimation even with movement.
[0222] The described techniques can be used with a single-sensor or dual-sensor system with rapid focus changes. One sensor is dedicated to white light imaging, while the other is optimized for depth inference, such as using near-infrared (NIR) or visible light. These configurations provide flexibility to collect multiple types of image data or to focus on different planes compared to the first sensor, thereby improving the accuracy of 3D depth estimation and providing surgeons with a seamless workflow.
[0223] In surgeries such as sleeve gastrectomy, knowing the thickness of the stomach is crucial. Knowing the thickness allows for the use of a more appropriate stapler, leading to more reliable results. This helps reduce the possibility of leakage, which could endanger the patient's life. Fluorescent probes, such as guide tubes that enter the stomach, are already available. These can be used to our advantage to learn more about the stomach's thickness. If the properties of the fluorescence system are known for a particular type of tissue, the tissue thickness can be calculated, provided other parameters are known. The known distance to the tissue surface is a key parameter in this calculation.
[0224] A fluorescent probe with known fluorescence properties is inserted into the organ, and fluorescence intensity is measured using a camera positioned outside the organ. The tissue thickness is then estimated based on known properties such as tissue type, light intensity, distance, and camera characteristics such as sensitivity. Some of these parameters can be changed in real time to obtain better results. If the light intensity is too high for the distance, the shutter speed can be changed or the light intensity can be reduced.
[0225] In medical imaging where fluorescence signals are used for diagnostic purposes, quantifying the fluorescence signal presents significant challenges due to its inverse relationship with the distance from the tissue. A calibrated imaging system may be essential for accurate quantification of the fluorescence signal. This system may take into account various factors, including the amount of light emitted, sensor acquisition parameters, and the distance between the tissue and the sensor. The distance to the tissue can be determined using an autofocus mechanism, such as a liquid lens, which adjusts to a focal plane, such as an optimal focal plane. The distance can also be estimated using a depth map.
[0226] In practice, the system first uses an autofocus liquid lens to measure the precise distance to the tissue, and then estimates the depth of each pixel in the image. Using this distance information, a correction factor can be applied to the fluorescence signal recorded at each pixel, along with the system's known calibration parameters such as light intensity, sensor characteristics, and image acquisition parameters like gain, exposure time, and gamma correction. This correction factor compensates for the signal intensity reduction due to distance, thereby ensuring accurate quantification of fluorescence emission. By integrating these parameters, the system can provide a reliable calibrated index of fluorescence, thereby facilitating more accurate diagnostic imaging.
[0227] In some cases, in addition to or instead of using a single sensor to capture images with different settings, multiple sensors may be used to collect multiple (e.g., two or more) separate sets of images. When using a single sensor, the system may alternately capture an image optimized for display (primary focus) and an image optimized for depth analysis (shifted focus). The image control engine 618 transmits control signals for rapid focus adjustment to switch between the two acquisition modes within a very short time frame. For example, the imaging device 650 may capture an image optimized for display (first image data) and then rapidly adjust the focus or other parameters to capture an image optimized for depth estimation (second image data) within milliseconds. This sequential process ensures that both sets of data are collected without significantly delaying or disrupting the surgeon's workflow.
[0228] Additionally or alternatively, the use of multiple sensors can enable simultaneous acquisition of both image types. One sensor is dedicated to acquiring images optimized for display (e.g., in white light), while another sensor captures images optimized for depth inference, such as near-infrared (NIR) images. In this setup, the sensors operate simultaneously, collecting two streams of image data that are processed separately: one stream for visual display and the other for 3D depth reconstruction. This dual-sensor approach enables continuous, real-time data acquisition without requiring rapid switching between modes. In some embodiments, depth can be estimated using the luminance of the NIR image based on an inverse square law that correlates light intensity with distance. Uniform regions within the NIR image where luminance remains consistent are identified, thereby simplifying depth estimation using the inverse square law. Known depth points from focus calibration help refine the depth estimation. Furthermore, surface reflectance can be compensated for by analyzing the ratio of NIR luminance to white light luminance, thereby improving the accuracy of depth inference. The same principle can be applied to light in the visible spectrum. For example, for this purpose, a portion of the light may be directed to another sensor. This may be a visible light sensor or an NIR sensor, and the division may be based on wavelength or percentage. In one embodiment, depth estimation can be performed using methods such as shape from shading or shape from reflection, or a combination of both, or even without using either of these methods. Data captured by one sensor is used for calculating a depth map, while data from the other sensor is used primarily for display. Image data displayed to the user on the display is called the "first image data," while depth analysis operates in the background based on the second and first image datasets. This configuration enables continuous real-time data acquisition without requiring rapid switching between modes, thereby providing both depth inference and display simultaneously. Furthermore, the system can use machine learning algorithms for depth inference by leveraging complementary information from NIR and white light images.NIR images optimized for depth cues, and texture-rich white light images, are processed via a neural network to generate accurate depth maps. Confidence values are calculated based on consensus between depth maps, allowing the system to refine areas of low confidence. Furthermore, the invention incorporates structured light techniques in which the NIR light source projects patterns onto the scene. Variations of these patterns provide information about surface shapes captured by the NIR sensor and used for triangulation-based depth estimation. Dual-sensor techniques can also involve two sensors with different focal planes. One sensor captures an image at a primary focal plane optimized for display, while the other sensor captures an image at a shifted focal plane optimized for depth analysis. Additionally, one of the sensors can be configured to receive more or less light based on spectral or percentage splitting (e.g., 10-90 or at least 70-30). This light splitting allows for balancing between the two sensors without requiring active modulation. The first sensor can receive more light for better visual display, while the second sensor, receiving less light, is optimized for depth analysis. Another embodiment involves integrating a liquid lens with the dual-sensor system to improve depth estimation. The liquid lens dynamically adjusts its focal plane, thereby allowing the system to compare the clarity of an object across multiple focal settings. By analyzing the rate of change in clarity, the system can triangulate the object's 3D position with greater accuracy. This setup enables simultaneous or rapid continuous acquisition while adjusting the liquid lens in milliseconds. If the imaging system is calibrated and the system behavior is known, two entropy values or clarity indices are available for each setting of the liquid lens, allowing for faster calculation of the exact point of perfect focus with the minimum number of iterations.
[0229] In the case of a single sensor, the controller coordinates the image acquisition process, thereby triggering focus changes or managing sensor inputs. The controller passes relevant data (e.g., focal length, timing, and illumination settings) to the data processor. The data processor extracts images from the data stream and processes acquisition parameters. This information is sent to the 3D engine, which uses depth-optimized images to extract depth information and reconstruct the 3D scene. The components, including the imager, controller, data processor, and 3D engine, communicate either bidirectionally or unidirectionally to ensure smooth operation. The 3D engine analyzes image clarity to estimate errors and provides feedback on specific areas of the image. This information is relayed back to the data processor, which adjusts timing, focus shift, or other acquisition settings for subsequent image acquisition. The depth map generated by the 3D engine is provided to the navigation engine, which correlates it with 3D data from CT or MRI scans. Depth data is also sent to the surgical robot controller and the stereo imaging engine, which converts 2D images into 3D images for the user. When the focus shifts, the image size also changes. Such images cannot be shown for use even for a short time. Therefore, these images must be rescaled to other consecutive images (Image A) so that the video feed is fluid and normal.
[0230] Figures 4A to 5G show an exemplary hardware configuration of a system with multiple sensors performing such a process. One sensor may be dedicated to acquiring images optimized for display (e.g., in white light), while another sensor acquires images optimized for depth inference, such as near-infrared (NIR) images. In this setup, the sensors operate simultaneously, collecting two streams of image data that are processed separately: one stream for visual display and the other for 3D depth reconstruction. This dual-sensor approach enables continuous real-time data acquisition without requiring rapid switching between modes.
[0231] Furthermore, some embodiments of the devices, systems, and methods disclosed herein may incorporate structured lighting techniques, such as using an illumination control engine 616 in which an NIR light source projects a pattern onto the scene. Variations of this pattern provide information about the surface shape, which is captured by an NIR sensor and used for triangulation-based depth estimation.
[0232] 1. Exemplary imaging system calibration To effectively utilize the imaging system, the controller 600 may calibrate the system. Calibrating the system can help the system / controller understand or know how the focus changes with respect to depth. This is useful because the radial distance from the optical center of the camera may be important for accurate depth estimation. The calibration process may involve determining how the focus changes across different depths and positions within the sensor's field of view (FOV).
[0233] The system may perform calibration in a controlled environment with minimal disturbances (e.g., vibration and changes in lighting). In this environment, the system may use a high-contrast planar calibration target, such as a checkerboard or dot grid, large enough to cover a significant portion of the sensor's field of view. The system may then capture multiple images of the calibration target from different angles and positions.
[0234] The system may analyze the calibration images to detect and extract target / image features within each image, such as corners or dots of the calibration pattern. The system may then use these extracted features to calculate intrinsic parameters of the camera or sensor (such as focal length, principal points, and / or distortion coefficients) using a calibration algorithm (such as Zhang's method).
[0235] In some implementations, the system may position calibration targets along the optical axis at different known distances from the camera (or at various depths). The system may additionally or alternatively adjust a liquid lens (or other variable lens) to focus on the target at each distance and capture an image. The system may then record the corresponding liquid lens setting (or other variable lens setting) for each focused image.
[0236] In some implementations, the system may additionally or alternatively calculate a sharpness metric (such as Laplace variance) or entropy within the region containing the calibration target to help determine how the focus changes with depth. The system may plot the sharpness and / or entropy values against known depths at each liquid lens setting. The system may then determine a mathematical model that describes the relationship between the focus setting and the actual depth. This model can help the system predict or estimate the depth of an object based on the focus setting during image acquisition.
[0237] In some implementations, the calibration process may involve placing calibration targets at different positions across the field of view (FOV), such as from the center to the edges of the frame, while maintaining a constant distance from the camera. The system may adjust a liquid lens (or other adjustable lens) to obtain the best focus on the target at each radial position and capture an image at each position before recording the focus setting. The system may then calculate the sharpness / entropy across the image and compare these values to the corresponding focus setting and radial distance to develop a model that describes how the focus setting changes with radial distance from the optical center. This model should account for potential aberrations that change the focus across the image plane, such as field curvature.
[0238] In some implementations, the calibration process may involve positioning a calibration target on a grid of known depth and radial distances and capturing images with various liquid lens (or other variable lens) settings. For each grid point, the system may record the focus setting that provides the sharpest image and analyze the sharpness / entropy across the grid. The system may use the collected data to construct a 3D calibration model that maps liquid lens (or other variable lens) settings to depth and radial positions. This model should take into account the interdependence of depth and radial distance to the focus setting.
[0239] The system may validate the calibration model by positioning the object at a known depth and radial distance and comparing the predicted focus setting with the actual setting required for a sharp focus. If a discrepancy is found, the system may refine the calibration by collecting more data and / or adjusting the model parameters.
[0240] In some implementations, the system may further incorporate the determined depth-of-focus and radial focal models into the depth estimation algorithm. For example, the models can be used to predict depth from the focus setting during image acquisition. Furthermore, the system may perform real-time adjustments to the imaging system based on calibration to compensate for focus-related variations across different depths and radial positions.
[0241] 1. Exemplary Image Control Engine Process The controller 600 may be configured to control the lens and / or aperture, preferably based on imaging settings, via, for example, an image control engine 618. The imaging settings may include lens and / or aperture settings in the imaging device 650. The imaging settings can affect the resulting image data. That is, the lens can affect the focal length (or focus) or magnification (zoom). The aperture can affect the depth of field (or depth-direction area that is sharply depicted in the image data). Therefore, the lens and / or aperture can be controlled according to a first image setting and a second image setting. In the first image setting, it may be advantageous to set the aperture to increase the depth of field (e.g., the aperture is relatively closed). On the other hand, in the second image setting, it may be advantageous to set the aperture to decrease the depth of field so that both sharp and out-of-focus parts of the object are included in the second image data. Preferably, the imaging device includes a lens and / or aperture. A larger aperture allows more light in, thus enabling faster shutter speeds and reduced motion blur.
[0242] In some cases, the lenses and / or apertures, such as lens 217 shown in Figures 3A and 3B, may be liquid lenses. However, other lenses are also conceivable. The focal length may be changed using a variable focus lens, such as a liquid lens. The change in focal length may be driven by the image control engine 618. Preferably, liquid lenses can change their focus in a short time, sometimes as short as 10-20 ms, thus enabling changes in focal length in a relatively short time. Furthermore, preferably, the dimensions of liquid lenses are compact, which can help the imaging system have a compact form factor.
[0243] In some implementations, the imaging device 650 may include an optical zoom lens. The optical zoom lens may be implemented as a liquid lens. The zoom function may be activated on request by the user or automatically determined by the data processing engine 604. Thus, an optimal magnification can be obtained without getting too close to the surgical area.
[0244] There are various principles for realizing electrically controllable liquid lenses. For example, two-phase and / or single-phase liquid lenses may be implemented. One concept involves working with two immiscible liquids (water and oil, respectively) that are as similar in density as possible but have different refractive indices and electrical properties within the chamber. A voltage of up to 60 volts (between a ring electrode inside the chamber and a transparent indium tin oxide (ITO) electrode outside the chamber window) controls the electric field, which, through the effect of electrowetting, changes the contact angle of droplets of the polar liquid (water) inside this transparent chamber window. As a result, the hemispherical droplets spread out on the inner wall, reducing the curvature of their surface (refractory phase interface) and changing the focal length of the lens. This allows for focusing or zooming. Four radially positioned electrodes also allow for targeted wedge-shaped distortion or shifting of the droplets. This makes it possible to achieve optical image stabilization when the camera shakes or the object moves, with the help of an (autofocus) liquid lens.
[0245] Another concept involves using MEMS (Micro-Electro-Mechanical Systems) to deform a transparent film, thereby giving the volume of liquid different shapes with a desired refractive effect. Liquid lenses can be made particularly small as lenses with variable refractive power, which may be especially necessary for flat mobile phone cameras. Liquid lenses are fast, energy-efficient, and vibration-resistant. The dissolution of salt (such as potassium sulfate) in the water of the lens makes the water conductive, sufficiently lowering the freezing point and vapor pressure of the water in the lens, ensuring a wide temperature range for operation (-20 to +60°C) and a wide temperature range for storage (-40 to +85°C) (i.e., the water neither freezes nor evaporates). The following technical data are typical: a 2.5 mm optical aperture with a diameter of 8 mm, a thickness of 2 mm, one adjustable refractive power between -2...+10 dpt, and a response time of approximately 1 ms.
[0246] Furthermore, the liquid lens may be an electrowetting liquid lens having an integrated adaptive liquid iris (ELL-LI) with an adjustable radial aperture and axial position. Firstly, the liquid iris and liquid lens may be integrated within the same chamber, and the liquid iris and liquid lens may share the same conductive liquid portion. By changing the amount of liquid, the contact and fusion of the two liquid-liquid interfaces in the three-layer liquid system may be altered to naturally form a liquid iris ring mounted on the side wall of a cylindrical chamber. Contraction and relaxation of the upper and lower boundaries may be achieved by changing the applied voltage and thus adjusting the aperture of the iris ring. Furthermore, the electrodes of the side wall dielectric layer on which the liquid iris is located may be segmented so that the iris can be subjected to upward or downward forces in the vertical direction, meaning that the iris can move up and down in the axial direction. Thus, the iris can be used as an axially adjustable aperture in the optical system to achieve changes in the field of view and possible aberration modulation.
[0247] Experiments demonstrate that lenses with adjustable radial aperture and axial position offer depth-of-field extension and field-of-view adjustment capabilities, and have significant potential applications in imaging systems such as camera imaging systems. This technology is described in "Electrowetting liquid lens integrating adaptive liquid iris" by Jin-Bo Xu, You-Ran Zhao, Rong-Ying Yuan, Xiao-Wei Li, Chao Liu, and Qiong-Hua Wang, published in February 2024 in Optics & Laser Technology Volume 169, 110023. This paper has been available online since September 6, 2023, and is incorporated herein by reference in its entirety.
[0248] Depending on the configuration, the image controller 618 may be further configured to control a piezoelectric drive configured to change the position of the image sensor and / or lens based on the image settings. By changing the position of the image sensor and / or lens, the image settings can be adjusted or changed. Thus, the image settings can be adjusted very quickly. The position change may be achieved by changing the distance between the sensor and a portion of the optical element using a piezoelectric crystal. A change in focal length can also be achieved in a short time using high-speed mechanical motion.
[0249] This can also be achieved by using a fast-acting mirror that projects images onto two different sensors. The fast-acting mirror or mirror assembly may modify the optical path length with respect to one imager sensor to have the same effect. The piezoelectric drive may be implemented as a piezoelectric crystal on which either the imaging sensor or the focusing element is mounted. Furthermore, the imaging sensor and the focusing element may each be mounted on the piezoelectric drive. Piezoelectric drives can be more accurate but are bulkier than liquid lenses. However, piezoelectric drives are more accurate and therefore have better repeatability. Liquid lenses are more compact and can have faster response times. Piezoelectric drives utilize the piezoelectric effect, which can be explained by changes in geometric shape. In general, all ferroelectric materials with permanent electric dipoles, such as barium titanate and lead zirconate titanate (PZT), are also piezoelectric. However, only some piezoelectric materials behave ferroelectrically. Piezoelectric crystals may be used as piezoelectric drives.
[0250] For example, as the piezoelectric crystal, a trigonal structure of α-type quartz, formed from quartz that is stable up to 573°C, is used. Lithium niobate may also be used; lithium niobate has a higher piezoelectric constant than quartz and is used in piezoelectric drives. Gallium orthophosphate may also be used. This material is similar to quartz but has a higher piezoelectric constant and better temperature stability. This material is stable above 900°C. Other piezoelectric crystals include berinite, tourmaline group minerals, senyette salts, and all ferroelectrics such as barium titanate (BTO) or lead zirconate titanate (PZT). Optionally, the imaging device includes a piezoelectric drive configured to change the position of the image sensor.
[0251] Depending on the circumstances, the imaging device 650 may include a lens and / or aperture, and the lens and / or aperture may be a piezoelectric drive.
[0252] Depending on the circumstances, image settings may include aperture, depth of field, light, wavelength, shutter speed, and / or focal length. Furthermore, image settings may also include brightness. Thus, image settings can affect the information in the image data. In this way, the first image data and the second image data may be different from each other. The aperture may be changed to change the depth of field (i.e., the depth-direction area in which the image data is in focus). Changing the depth of field may change the depth-direction range in which the image is in focus. Light (e.g., light intensity and / or wavelength) may be changed to highlight certain features of the object and / or to provide sufficient illumination to the object to be imaged. The shutter speed may be changed to accommodate other parameters to which the image settings have been changed. For example, if the aperture is increased, the shutter speed may be decreased to ensure sufficient exposure of the image data. The focal length (i.e., the depth-direction area in which the image data is in focus) may be adjusted to scan objects in the field of view. Therefore, the first image data (for example, for visualizing an object) and the second image data (for example, for creating a depth map) may be acquired in a manner best suited to their respective purposes.
[0253] In some cases, the image sensor may include a shutter with an adjustable shutter speed. Therefore, the image sensor may adapt to changing image settings. This can ensure sufficient acquisition of image data.
[0254] In some cases, the first image settings are entered by the surgeon via the user interface. In other words, the first image settings may be determined by the user or the user's needs. Alternatively, the first image settings may be predetermined based on the user's opinion or preference based on the intended use. The first image settings may also be determined to keep the area under observation in the best possible focus, and the brightness is also maintained at an optimal level to minimize areas that are excessively bright or dark. Poor focus or brightness reduces the user's ability to work with the video feed. The lens's autofocus may be used to focus on the target area. The target area may be the central part of the image of any other important structure or instrument in the image. Since the area under observation may have non-uniform topography, best efforts should be made to focus on as much of the image as possible. Typically, an accuracy of 25% of the focal plane distance from the tip of the optical element helps in the effective use of the image. Especially with tubular structures, the variation in distance is large, and it may not be possible to focus on the entire image. Forty percent of the image may typically be more important to the user, and an acceptable level of sharpness in this area is sufficient. This area is usually located in the center of the image. In long tubular structures such as the urethra, the central 10-20% area may be too deep to be important. Furthermore, the brightness may need to be between 20% and 90% of the saturation value for most of this portion of the image. Large fluctuations in brightness can cause eye strain, and image details may be lost in images that are too bright or too dark. In other words, the first image settings may not be automatically determined without considering the user and / or display needs. Thus, the user may directly influence the visualization of the first image data. This means that the user can orient themselves on the visualized first image data when examining an object. In this way, the visualization may be adapted to the user's personal preferences and / or current boundary conditions, such as the lighting in the operating room.
[0255] In some cases, the second image settings are set automatically. This means that the second image settings can be set without direct influence from the user. Alternatively, the second image settings may be set independently by the data processing engine 604. In this way, the second image settings may be determined based on requirements that may be necessary to determine the depth map. Furthermore, the second image settings may be updated to be suitable for creating a depth map under given conditions, even if boundary conditions change. In some cases, the frame rate of the image data is at least 20 FPS, preferably 20 to 100 FPS. FPS may mean frames per second, which can also be called frame frequency or frame rate. This term can refer to the number of frames recorded or played back per period, and is usually expressed in units of fps (frames / second). The frame rate of video is typically 20 to 100 frames / second. Frame rates of less than 30 frames per second can be used for certain purposes, such as bleeding, fluorescence imaging, or when active tissue is not being manipulated. In some cases, the imaging device is configured to control the image sensor to operate at 60 frames per second. In this case, it was found that the second image data could be captured without disrupting the user during the inspection process.
[0256] Depending on the circumstances, the first image data may be captured during the first sequence, and the second image data during the second sequence. Each sequence may describe a time span in which specific controls of the imaging device are performed. For example, the second sequence may include changing the focus (i.e., changing to the second image setting), capturing the second image data, and switching the focus back to the original primary focus (i.e., switching back to the first image setting). This second sequence is executed very quickly so that the user can work without being affected by their workflow. All image data that does not have a primary focus (i.e., the first image setting) may be considered as second image data. Also, the second sequence may record second image data with different focal lengths. Images acquired at the primary focus (i.e., with the first image setting) may be considered as first image data. The first and second sequences may alternate sequentially. For example, 30 frames per second may be captured in the first sequence (i.e., the first image data), and 30 frames per second may be captured in the second sequence (the second image data). In the absence of sufficient light, for example, 30 images per second can be captured in the first sequence and 5 images per second in the second sequence. In short, any combination may be realized. Therefore, the imaging device may be adapted to the current boundary conditions.
[0257] Depending on the circumstances, the frequency of the second sequence and / or the variation of the second image settings, particularly the focal length, may be dynamically determined according to the degree of uncertainty. The uncertainty may be determined by the data processing engine 604. More specifically, the uncertainty may be determined based on the depth map; that is, the more errors or gaps present in the depth map, the greater the uncertainty. In this case, the accuracy of the second image data, and therefore the depth map, can be improved by acquiring more second image data. The first image settings may also be changed based on the uncertainty. More specifically, the first image data may be acquired by performing a specific addition or subtraction to the primary focal length (of the first image settings). The changes to the image settings may also be adjusted according to a pattern, in which an increment is specified in which the image settings are changed. Dynamic changes to the settings may also involve changes in light intensity and shutter speed to obtain the optimal image desired by algorithms such as shape from shading or shape from brightness. After the image data has been acquired, it may be determined how great the uncertainty is. The image settings with the minimum uncertainty can then be set. The uncertainty can be determined using instructions derived from other data, such as instrumentation. Therefore, an improvement in the accuracy of image data can be achieved.
[0258] In some cases, more frames are acquired during the first sequence than during the second sequence. This is particularly advantageous when the user is manipulating the object. In this way, the user can be prevented from being hindered in their inspection work based on the first image data. In other words, the dynamic acquisition of the first image data may be sufficient to provide the user with initial image data that gives a good impression of the object under inspection. Simultaneously, the second image data is acquired to create a depth map.
[0259] Depending on the circumstances, the image control engine 618 may be configured to alternately switch between a first sequence and a second sequence. In other words, the first sequence can be executed as long as enough first image data has been acquired to provide the image viewer with sufficient data to visualize the object. The image control engine 618 may then switch back to the original second sequence to acquire second image data. The frequency of the alternation may be predetermined. Alternatively, the frequency of the alternation may depend on the user's inspection work. For example, if the user is moving an instrument or the area of interest is moving, it may be necessary to provide more initial image data to achieve fluid visualization of the object. For example, the image control engine 618 may be configured to control the image sensor to capture 30 frames of first image data, and then capture fewer than 30 frames of second image data.
[0260] This frequency has been found to yield the best results in terms of depth map accuracy and usability. In typical use of the imaging device, the first sequence may be 20 frames per second or more. The second sequence may generally contain fewer frames than the first sequence. If the 3D reconstruction of the scene is already considered sufficiently good by the data processing equipment or the user, it is conceivable that the second image data will not be acquired.
[0261] Depending on the circumstances, the image control engine 618 may be configured to recognize whether the endoscope is moving and to determine movement information, and the image control engine 618 may be configured to change the image settings based on the movement information. If the imaging device detects that the user is not actively using the device or instrument, the image control engine 618 may cause the image sensor to continuously acquire second image data with different focal lengths. This is, for example, in surgery when the user changes instruments or waits for another event. In this way, 3D reconstruction can be optimized more effectively and quickly without interrupting the workflow. The system may increase the amount of second image data (e.g., the number of frames) at the start of use to build a good initial 3D reconstruction and have fewer frames during subsequent use. This ensures the rapid generation of depth maps.
[0262] In some cases, the image control engine 618 is configured to change the second image settings according to a predetermined pattern. For example, a predetermined pattern may be used depending on the type of inspection. For example, a pattern established in a previous inspection may be used again. The pattern may be stored in a database and used based on the specific inspection to be performed. In this way, the use of the imaging device can be made more efficient. The pattern may indicate a change in focus (i.e., a focus shift). Thus, the object may be scanned, particularly with respect to its depth.
[0263] In some cases, an image sensor is configured to capture image data with different wavelengths. Therefore, the image setting can be changed by altering the wavelengths received by the imaging sensor. For example, when imaging longer wavelengths such as near-infrared (NIR), the focal length changes due to the difference in refractive index between visible light and NIR light. In this way, the focus may be shifted to acquire a second image data. Focus shifting techniques may be used to generate the second image data and a reference focal length at each wavelength. This is particularly useful for 3D reconstruction of the second image data with longer wavelengths.
[0264] In some cases, the imaging device includes at least one mirror configured to deflect the light to be received by the image sensor in order to change the image setting based on a command from the image control engine 618. In other words, the image setting can be changed in a short time using mechanical movement. This can be achieved by using a fast-acting mirror configured to project images onto two different sensors. The fast-acting mirror or mirror assembly may modify the optical path length with respect to one imager sensor. In this way, the image setting can be changed from a first image setting to a second image setting without inconveniencing the user.
[0265] In some cases, the second image data may not be directly shown to the user. That is, the second image data may be used primarily to generate a depth map. Alternatively, only the first image data may be visualized and shown to the user. In this way, each image data can be precisely configured so that the image is optimal for its respective use (i.e., the first image data for visualization and the second image data for generating a depth map). This is made possible by an image control engine 618 that can quickly change the image settings so that the visualization of the first image data is not hindered by small gaps in which the second image data is captured.
[0266] In some cases, the image control engine 618 is configured to improve the clarity of the first image data based on the second image data. That is, the clarity of the first image data can be improved using the second image data acquired at a different focus. For example, the spatial position of an object may be determined based on the second image data. Then, the image settings of the first image data may be adjusted to take the spatial position of the object into account. In this way, the visualization of the first image data can be improved and made more efficient because the information obtained by analyzing the second image data can be applied to the first image data (for example, by adjusting the first image settings). For example, if the position of the instrument tip (e.g., endoscope) is known, the first image settings may be configured to show the contact point of the instrument tip with tissue with high clarity. Alternatively, the intended tissue can be focused on better thanks to the known depth.
[0267] 1. Examples of image capture methods The imaging system may capture images of the scene under observation at one or more wavelengths and / or wavelength bands and / or one or more depths. As described herein, the imaging system may include one or more sensors, and the controller 600 of the imaging system may instruct (e.g., via the timing control engine 610 and / or the image control engine 618) the timing of image data acquisition, the sensor and / or sensor type used to acquire the image data, the depth of field and / or other imaging parameters, and / or combinations thereof. This specification describes further details of the imaging and control of the imaging system for acquiring image data that may be used, for example, to display the image data in a viewer and / or to generate a depth map.
[0268] In some implementations, at least two different image data (i.e., a first image data and a second image data) may be received or generated. Each image data may be suitable for a different subsequent process. The second image data may be suitable for use in determining a depth map (e.g., by a 3D engine 606).
[0269] The second image data may include at least one frame. If the second image data includes multiple frames, each frame of the second image data may have a different second image setting. Thus, the first frame of the second image data may be in focus on some parts of the object, while the second frame of the second image data may be in focus on other parts of the object. The same may be true for the first image data. Furthermore, some parts of the object may be partially in focus in the first frame of the image data and partially in focus in the second frame of the image data. As a result, by combining or comparing both frames with each other, a whole image or whole data may be generated that contains more information about the object (e.g., further details, depth information, etc.) compared to a single image or stereoscopic image of the object.
[0270] In some cases, an image cycle in which first image data and second image data are sequentially acquired is provided. That is, the image cycle may include a first sequence and a second sequence. In some embodiments, a plurality of image cycles are subsequently executed. Frames captured during the image cycle of the first image data and the second image data may vary. For example, if there is motion in the scene to be inspected, the image control engine 618 may cause the image sensor to generate several (e.g., eleven) frames for the first image data and only one frame for the second image data. This can smooth the video stream. In other words, the user may inspect the scene without being interrupted or disturbed by the process of acquiring the second image data. Furthermore, in the next image cycle, the acquisition process may be repeated while keeping the first image settings constant (i.e., unchanged), but the second image settings in the second image data may be changed. That is, in two image cycles, the first image data includes frames with constant first image settings, and the second image data includes frames each having a different second image setting. For example, in one second, 55 frames of the first image data and 5 frames of the second image data may be obtained, all frames of the first image data may have the same first image setting, and all frames of the second image data may have different second image settings. For example, the image cycle may be configured as follows.
[0271] i. First setting - 11 frames (first image data),
[0272] ii. Second setting 1 frame (second image data),
[0273] iii. First image setting 11 frames (first image data),
[0274] iv. Third setting 1 frame (second image data),
[0275] v. First setting 11 frames (first image data),
[0276] vi. Fourth setting, frame 1 (second image data), etc.
[0277] More precisely, the second image setting may differ from frame to frame, while the first image setting may remain unchanged across all frames.
[0278] One cycle may be considered as one cycle of image setting changes from a first image setting to a second image setting, and then from the second image setting to the first image setting. One cycle may include one set of first image data and one set of second image data. In some cases, the image setting changes are fast enough so that only one frame is acquired in the first and / or second image for each data. In other words, the time-image control engine 618 may be configured to cause the image sensor to acquire two or more frames in the second image data only if the image setting changes are not fast enough to do so within a single frame.
[0279] In at least one embodiment, depth map generation may be performed in real time while the object under inspection is visualized to the user. Furthermore, since a second image data used for depth generation is acquired in the background, the user is not interrupted by the generation of depth information. The second image data may be acquired by another sensor. In this way, both the first and second image data are acquired sequentially. This allows the imaging device to be minimized, and the equipment in which the imaging device is used can be made compact. Furthermore, the user may be provided with both a visualization of the object and detailed depth information of the object. Additionally, the depth information can be used for automated or at least partially automated handling devices such as robots. Thus, automated handling devices can be precisely controlled.
[0280] Depending on the circumstances, the first image data may include at least 20 images per second. In other words, for example, at least 20 images per second are acquired to capture the first image data during an active intervention.
[0281] Depending on the circumstances, the first and second image settings may differ in at least focal length and / or aperture and / or brightness. That is, the first and second image data each have different focal lengths (i.e., different focal points). Depending on the circumstances, the focal length of the second image data may be suitable for creating a depth map (for example, to focus only partially on an object). On the other hand, the focal length of the first image data may be suitable for focusing on the entire object. The first image data may have a larger focal length than the second image data. Therefore, the first and second image data each may be suitable for their particular purposes.
[0282] Depending on the circumstances, the data processing engine 604 may be configured to output a command to the image control engine 618 indicating which second image setting should be set and / or when the image sensor should be controlled to acquire the second image data. In other words, the data processing engine 604 may request the acquisition of the second image data. In other words, the user does not set or request the second image data. The data processing engine 604 may control the generation of the second image data. Thus, the data processing engine 604 may control the generation of the second image data according to a predetermined pattern. For example, the second image setting may be adapted to sample or scan a spatial region in an object or part of an object that is in focus in the second image data. When such a sharp area is detected by the data processing engine 604, in the next acquisition of the second image data, the second image setting may be configured to scan around the sharp area. In this way, the generation of the second image data used to generate the depth map may be made more efficient. Furthermore, the process of generating the second image data may be automated. Furthermore, the data processing engine 604 may be configured to output commands to a timing controller. The timing controller may be configured to set the timing for acquiring the second image data.
[0283] In some cases, the command may be based on a depth map generated by the 3D engine 606. That is, the results of generating the depth map can be evaluated to determine what further information is needed. For example, the depth map may have gaps or areas with little depth information. In this case, the data processing engine 604 may adjust the second image data to obtain further depth information within that particular area. For example, the data processing engine 604 may adjust the focal length so that the second image data is sharp in that area. Thus, the accuracy of the depth map can be improved.
[0284] Depending on the circumstances, the data processing engine 604 may be configured to separate the first image data and the second image data into two independent image data sets. This may be done by tagging the images. The data processing engine 604 may extract the second image data from the image streams of the first and second image data. Furthermore, the data processing engine 604 may obtain image settings corresponding to each image data set. Thus, the image data may be supplied as an image data stream and may not be transferred separately from the sensor. Therefore, the acquisition of both image data sets may be switched rapidly.
[0285] Depending on the configuration, the imaging device may further include a 3D engine. The data processing engine 604 may pass image data to the 3D engine 606. The 3D engine 606 may extract depth information from the image data to perform 3D reconstruction. Furthermore, the 3D engine 606 may provide a depth map to an AR navigation engine 614 that can correlate the data with 3D images derived from CT or MRI or other means. Furthermore, the 3D engine 606 may also provide a depth map to a surgical robot controller. The depth map may also be provided to a stereo image engine that can convert 2D images or video streams into 3D stereo images or video streams. This data may also be provided to an image viewer and thus displayed to the user in either 3D or 2D or as a hologram. Depth information may also be communicated to the user in any other form, such as symbols, numbers, or changes in the color of equipment, when any structure is about to be touched. In one embodiment, when the needle holder is close to a needle or suture, the user may be communicated by an audio or visual display on the screen. Other means of communication may also be envisioned.
[0286] In some cases, the 3D engine 606 is configured to determine the error in the depth map. The 3D engine 606 may be configured to estimate the error in the depth map based on the clarity of images of known objects, such as received image data and estimated values. That is, the image data may include information about objects having known dimensions, spatial location and / or size. Thus, the 3D engine 606 may compare the known information with the determined depth map. The difference between the known information and the determined depth map may be the error in the depth map. For example, the second image information may include information about an instrument in the field of view. The 3D engine 606 may know the dimensions of the instrument to determine the actual extension of the instrument in a third direction (i.e., the z direction). Such known dimensions may then be compared with the determined dimensions in the depth map. The known information may be any information that enables a comparison between the determined depth map and reality. Furthermore, the 3D engine 606 may transfer the error and its respective area to the data processing engine 604. Next, the data processing engine 604 may set the timing for the next acquisition of the second image data and the second image settings. That is, the 3D engine 606 and the data processing engine 604 may communicate bidirectionally. In this way, feedback control may be implemented to improve the accuracy of the depth map. Thus, the depth map may be checked in real time to further improve its accuracy. Furthermore, the 3D engine 606 may forward errors to the data processing engine 604.
[0287] In some cases, the image control engine 618 may be further configured to control a second image setting based on errors. That is, the 3D engine 606 may forward errors and each area to the data processing engine 604. The area may be a portion of the field of view included in the second image data that has an error (i.e., the difference between the real dimension and the determined depth map). The data processing engine 604 may then set the timing for the next acquisition of the second image data and the second image setting. That is, the 3D engine 606 and the data processing engine 604 may communicate bidirectionally. In this way, feedback control may be implemented to improve the accuracy of the depth map.
[0288] 1. Exemplary lighting control engine Depending on the circumstances, the system may include an illumination control engine 616. The illumination control engine 616 may be configured to control a light source 652 configured to illuminate an object. The light source (illumination system) 652 may be adjustable to illuminate an area (i.e., a field of view) that can be imaged by an image sensor. Thus, image data can be generated appropriately even in poor lighting conditions. The illumination system 652 may optionally be an LED light source. In addition to or instead of this, the illumination system may include a laser-based light source. Furthermore, the light source may be an external light source that can be controlled by the image control engine 618. Illumination may also be achieved by a lamp incorporated in an optical system, such as a light source at the tip of an endoscope. More specifically, the image control engine 618 may be configured to adjust the illumination, wavelength and / or illumination duration. In this way, image data can be acquired according to desired image characteristics (i.e., the first image data may have different illumination requirements compared to the second image data). Depending on the circumstances, the image control engine 618 may be configured to adjust the light source so that it conforms to the current image setting. This means that increasing the aperture may reduce the amount of light needed to achieve optimal exposure. Therefore, the image can be properly set up even when boundary conditions change. To produce better images, the aperture may be fully opened under low illumination conditions.
[0289] In some implementations, the imaging device 650 may include a light source 652 configured to illuminate the object. Thus, an integrated device can be realized. As a result, handling can be further simplified as only one device needs to be handled.
[0290] In some cases, the light source 652 may be configured to emit light having different wavelengths, possibly green wavelengths. The emitted light may be multiplexed light that outputs different wavelengths. The type of wavelength may be controlled by the image control engine 618. The wavelength may be adjusted as needed or in a planned sequence. For example, the wavelength may be changed for the purpose of calibrating the device. For example, calibration should take into account the performance of the entire system over a sensing area spanning a certain wavelength range at different focal lengths. The wavelength of light may be changed to acquire a second image data. In this way, it is possible to obtain better contrast of structures. For example, green wavelengths may be used to improve the contrast of blood vessels.
[0291] 1. Examples of depth estimation methods Here, various aspects of one or more processes for depth estimation, which may be referenced or described in whole or in part in Figures 7A to 7D or elsewhere in this disclosure, are described. Any of the described processes or systems may be combined in whole or in part.
[0292] a. NIR image brightness In general, longer wavelength light is more likely to be reflected than shorter wavelength light. This is because longer wavelengths (such as red light or near-infrared) are less prone to scattering, while shorter wavelengths (such as blue or violet) are more easily scattered by small particles in the atmosphere or on surfaces. Given that most NIR light is more uniformly reflected by intra-abdominal organs, there may be a strong correlation between the depth of a point and its average brightness in NIR images. This is because biological tissues often have lower absorption in the NIR range compared to the visible spectrum, especially for wavelengths longer than 700 nm. As a result, NIR penetrates deeper and reflects more consistently from tissues. White light, on the other hand, consists of multiple shorter wavelengths that are more absorbed or scattered by biological components such as blood, water, and lipids. This can lead to less reflection and more scattering of white light compared to NIR, especially in the complex and heterogeneous environment of intra-abdominal tissues. This relationship can be used for depth estimation.
[0293] The average brightness of a set of pixels in an NIR image can strongly correlate with the distance from the light source according to the inverse square law of light propagation. According to this law, the intensity of light observed at a point decreases in proportion to the square of the distance from the light source.
[0294] [Formula]
[0295] where I is the intensity (brightness) of the reflected light, and d is the distance (depth) from the camera / light source to a point in the scene.
[0296] In the Lambertian model, the observed intensity I(x, y) at a point (x, y) is given by the following equation. [Formula]
[0297] Here, θ(x,y) is the angle between the surface normal and the direction of the light source at point (x,y), and d(x,y) is the distance from the light source / camera to point (x,y).
[0298] Since the light source is concentric with the camera, the average brightness observed in the NIR image can be used as a direct indicator of the distance to the object. Our method is further simplified by identifying regions within the NIR image where the intensity values are nearly identical. These regions are likely to correspond to areas where the distance to the camera is nearly uniform, meaning that the angle θ between the surface normal and the light source direction is small and cos(θ) is close to 1. In these regions, depth estimation can be simplified by directly applying the inverse square law, effectively ignoring the Lambertian reflection model.
[0299] When performing luminance-based depth estimation in NIR images, the controller 600 may use the raw image. This helps ensure that the luminance values provide a consistent clue for depth estimation.
[0300] The controller 600 may segment the NIR image into small patches or regions and calculate the variance of intensity values in those patches or regions. In some implementations, the controller 600 may be configured to divide the first and second frames of the image data into one or more (e.g., >9) pixel segments called patches via the 3D engine 606. Furthermore, the 3D engine 606 may be configured to compare the patches of the first frame of the image data with the patches of the second frame of the image data. The patches may be rectangular or square. In particular, the 3D engine 606 may be configured to determine how clearly an object is depicted in each patch (i.e., to determine the sharpness of each patch). Patches may have multiple sizes; that is, the size of the patches provided in each frame may vary depending on the object depicted by the frame and / or the specific application (e.g., type of surgery). In other words, in areas with many textures, the patch size can be smaller (e.g., 5x5 pixels), while in areas with more uniform pixel intensity, i.e., image data with little or no texture, the pixel size can be larger (e.g., 50x50 or up to 1000 pixels). For example, an area of a frame where many edges are depicted may have many textures. Therefore, the 3D engine 606 can operate very efficiently. This is because in areas with many textures, the patch size is small (i.e., high resolution), allowing for high-precision information to be obtained in these areas, while in areas with few textures, the patch size is large, accelerating the process performed by the 3D engine 606.
[0301] Depending on the case, the position of at least one first patch or each first patch in the first frame of the image data corresponds to the position of at least one second patch or each second patch in the second frame of the image data. Depending on the case, at least one first patch may have the same size as at least one second patch, possibly 20x20 pixels in size. That is, the first patch has the same position in the first frame of the image data as the second patch in the second frame of the image data. More specifically, when the first frame of the image data and the second frame of the image data are aligned with each other, the first and second patches will overlap. Therefore, for each patch, a depth value (i.e., z-coordinate) may be determined by the 3D engine 606 (i.e., for each patch, the x, y, and z coordinates in 3D space are determined). Patches may have the size of one or several pixels. However, the required computational resources depend on the number of patches included in the frame. Therefore, depending on the case, each patch may have the size of 20x20 pixels. This size ensures both high accuracy in the depth map and system efficiency.
[0302] Furthermore, the 3D engine 606 may be configured to determine the sharpness of each patch in the first frame of the image data and each patch in the second frame of the image data. Note that several patches may have the same sharpness. The sharpness of each patch is proportional to the entropy of that patch. In other words, sharpness is synonymous with entropy. A patch in the first frame of the image data may be considered the first patch, and a patch in the second frame of the image data may be considered the second patch. The first and second patches may completely overlap each other (i.e., depict the same scene / part of the object). In other words, the first and second patches (also called a pair of patches) may or may not be located at the same position in the first frame of the image data and in the second frame of the image data. As previously mentioned, the second image settings may be set by the image controller for the purpose of optimizing the depth map. The image settings in the first image data may also be set by the image controller for the purpose of optimizing the image for the user. Therefore, the image settings (e.g., focal length) of the first frame of the image data and the second frame of the image data are known. The 3D engine 606 may determine the depth (i.e., z-coordinate) of the portion of the object depicted by the first and second patches using the following formula:
[0303]
number
[0304] In the formula, d is the unknown distance (i.e., depth or z-coordinate) to a portion of the object depicted in the first and second patches, d1 is the focal length of the first frame of the image data, I1 is the sharpness of the first patch, d2 is the focal length of the second frame of the image data, and I2 is the sharpness of the second patch.
[0305] The focal length and patch size of the first frame and the second first frame of the image data must be carefully selected using the above formula to obtain useful depth information. In some cases, the focal length depends on the specific application being performed (e.g., the specific surgery or laparoscopic surgery being performed). For example, the focal length of the first frame of the image data may be 6 cm measured from the distal end of the shaft, and the focal length of the second frame of the image data may be 9 cm measured from the distal end of the shaft. The focal length of the first frame of the image data may also be an empirical value determined from the type of surgery (e.g., 6 cm measured from the tip of the laparoscope (i.e., the distal end of the shaft) in the case of laparoscopic surgery). Alternatively, this focal length may be set by an autofocus mechanism that adjusts the focus based on the distance, contrast, or sharpness of the target area under observation. The target area may be within the central 40% of the image, or it may be a significant structure within the image.
[0306] Image clarity may be represented by the information density (e.g., entropy) of a particular patch frame. The 3D engine 606 may be configured to apply the above formula to each pair of patches of the first frame and second frame of the image data (i.e., each first patch and each corresponding second patch). As a result, the depth value in each pair of patches of the image data may be determined by the 3D engine 606. Having depth information, the 3D engine 606 may be configured to create a depth map using the depth information and the x and y coordinates of each pair of patches. In other words, the 3D engine 606 may be configured to create a 3D model based on the x, y, and z coordinates of each pair of patches.
[0307] Alternatively or additionally, the 3D engine 606 may be configured to create a 3D model using a focus stacking method. A further method that may be used to create a depth map is so-called depth from focus / defocus. Furthermore, the control unit may be configured to perform one or more of the above methods to create depth information (i.e., 3D image data) based on at least two 2D image data (i.e., a first frame of the image data and a second frame of the image data). Specifically, the 3D engine 606 may be configured to combine at least two methods for creating a depth map. In particular, the above formula may be applied to a patch of image data where the texture is relatively high compared to other patches of the image data. Also, a method of deriving shape from lightning may be applied to other areas of image data where the texture is relatively poor compared to other areas of the image data. As a result, the performance of depth map generation can be greatly improved by applying different methods to different parts of the image data. Thus, at least one embodiment can convert the relative difference in image settings (e.g., focus) of the image data into 3D shape information. In other words, the 3D coordinates of all patches in the image data can be calculated / determined by comparing the focus / blur of each patch (i.e., a single pixel or array of pixels). In some cases, the 3D engine 606 may be configured to further process the depth map by filtering the resulting depth map. More specifically, to remove erroneous depth information, the control unit may be configured to compare the depth information of adjacent depth maps. If one depth is excessively high or low compared to its neighbors (i.e., exceeding a pre-termination threshold), the 3D engine 606 may be configured to remove such depth information, as this depth information is most likely to be an error. As a result, the depth map output by the 3D engine 606 may have high accuracy.
[0308] Depending on the case, the 3D engine 606 may be further configured to generate depth information by comparing the entropy of at least one first patch in a first frame of image data and at least one second patch in a second frame of image data. Image sharpness is synonymous with entropy. Entropy is an example of information contained within image data (i.e., an indicator of the sharpness of the patches in the image data). That is, the first frame of image data and the second frame of image data may be compared to each other based on their entropy. Therefore, the 3D engine 606 may be configured to determine the entropy of the first frame of image data and the second frame of image data. Specifically, the higher the entropy, the more in-focus each image data is. Conversely, the lower the entropy, the less in-focus each image data is (i.e., blurry). Entropy may be determined by the following formula.
[0309]
number
[0310] In the formula, k is the number of levels in one channel or band (e.g., the gray channel or green channel under observation), and p k is the probability associated with the gradation k. Additionally, the RGB channel and / or IR channel may be used as the bandwidth. The sharpness values I1 and I2 used in the above formula for determining the depth of a specific part of an object may be replaced by entropy, respectively.
[0311] That is, using the above formula, entropy H1 is determined for the first patch and entropy H2 is determined for the second patch (and for each further pair of patches). Then, H1 and H2 are used instead of I1 and I2 in the formula to determine the depth of a particular part of an object depicted in the first and second patches. In other words, entropy is synonymous with sharpness.
[0312] In some embodiments, depth can be estimated using the luminance of a near-infrared (NIR) image based on an inverse square law that correlates light intensity with distance. Uniform regions within the NIR image where the luminance remains consistent are identified, thereby simplifying depth estimation using the inverse square law. Known depth points from focus calibration help refine the depth estimation. Furthermore, variations in the surface reflectance of NIR light can be compensated for by analyzing the ratio of NIR luminance to white light luminance, as well as the color and / or type of tissue, thereby improving the accuracy of depth inference. For example, even though variations in the reflectance coefficient in NIR may be significantly smaller compared to visible light, there are still some variations in the NIR reflectance coefficient as a result of reflections from different tissue surfaces in the scene. These variations can be estimated, for example, from the ratio of NIR luminance to white light luminance and / or by other methods. The same principle can also be applied to light in the visible spectrum. For example, for this purpose, a portion of the light may be directed to another sensor. This may be a visible light sensor or an NIR sensor, and the division may be based on wavelength or percentage.
[0313] In this scenario, depth estimation can be performed using methods such as shape from shading or shape from reflection, or a combination of both, or even without using either of these methods. When two sensors are used, data captured by one sensor is used for depth map calculation, and data from the other sensor is used primarily for display. The image data displayed to the user on the display is called the "first image data," while depth analysis operates in the background based on the second and first image datasets. This configuration enables continuous real-time data acquisition without requiring rapid switching between modes, thereby providing both depth inference and display simultaneously.
[0314] Furthermore, the system can use machine learning algorithms for depth inference by leveraging complementary information from NIR and white light images. The resulting NIR images, captured with acquisition parameters so that the NIR images are optimized for depth cues, and the texture-rich white light images can be processed via a neural network to generate multiple depth maps. The confidence value for each pixel in the depth maps can be calculated based on the consensus between the depth maps, thereby allowing the system to refine areas with low confidence.
[0315] b. Focus-shifted sensing The concept of depth estimation using focus shift (or depth from focus / blur) leverages combined information from two or more sensors—at least one sensor capturing a white light (or visible spectrum) image and at least one sensor optionally capturing a near-infrared (NIR) image. The sensors may be visible light sensors instead of NIR sensors. These sensors may consist of a slight focus shift between them, thereby enabling depth estimation based on the principles of depth from focus (DfF) and depth from blur (DfD). For example, the white light sensor may be focused at distance d1, and the NIR sensor may be focused at distance d2. Distances d1 and d2 may be close but different, resulting in different focal planes for each sensor. The focus shift between d1 and d2 preferably allows different parts of the scene to appear sharper in one sensor compared to the other.
[0316] The sharper an object appears on one sensor compared to another, the closer the object is to the sensor's focal plane. By comparing the sharpness of an object in both white light and NIR images, the system can determine which sensor is more focused on that object. If an object is sharp in the NIR image but blurry in the white light image, it indicates that the object is closer to the NIR sensor's focal plane (d1). Conversely, if an object is sharper in the white light image, it is closer to the white light sensor's focal plane (d2). By mapping the difference in sharpness between the two sensors, depth estimation can be performed, thereby relating a particular object in the scene to the distance at which a sensor captures the object more sharply.
[0317] The degree of blur (or out-of-focus) in the images from both sensors can also be used for depth estimation. The further an object is from the sensor's focal plane, the more blurred it will appear. By analyzing the rate of change in blur (or out-of-focus) between the NIR image and the white light image, the system can estimate the distance of the object from the focal plane. Objects farther from the focal plane will show significant blur in one or both sensors. The amount of blur provides a clue as to how far the object is from the focal point of each sensor. By combining the blur information from both images, the system can create a more refined depth map.
[0318] This dual-sensor approach can also involve two similar types of sensors with different focal planes. One sensor captures an image at a primary focal plane optimized for display, while the other sensor captures an image at a shifted focal plane optimized for depth analysis. Furthermore, one of the sensors can be configured to receive more or less light based on spectral or percentage splitting (e.g., 10-90 or at least 70-30). This light splitting allows for balancing between the two sensors without requiring active modulation. The first sensor may receive more light for better visual display, while the second sensor, receiving less light, can be optimized for depth analysis. The second sensor may be a visible light sensor. Using a visible light sensor can improve the system's dynamic range. The system may also have several sensors. In one embodiment, there may be two visible light sensors with focus shift and unequal light splitting, and two NIR sensors for different wavelength bands. Such a system simultaneously provides several clues for depth inference.
[0319] To further improve depth estimation accuracy, liquid lenses or other variable lenses whose focal lengths can be dynamically changed by varying control signals may be used, thereby enabling precise control across the focal plane. For example, a liquid lens can dynamically adjust the focal plane for white light and / or NIR sensors (or other sensor types), thereby allowing the system to compare the sharpness of an object across multiple focus settings. For instance, a system could capture a set of images using a liquid lens with an initial focal plane p (diopter) set so that both white light and the NIR sensor focus at slightly different distances. The system could then adjust the liquid lens to a new focal plane corresponding to p + delta p. This setting allows for simultaneous or rapid sequential acquisition while adjusting the liquid lens in milliseconds. If the imaging system is calibrated and its behavior is known, two entropy values or sharpness indices are available for each liquid lens setting, allowing for faster calculation of the exact point of perfect focus with the minimum number of iterations.
[0320] By analyzing the rate of change in the sharpness of objects in white light and NIR images caused by changes in the focus of the focusing lens over time, the system can estimate depth more accurately. The system can measure the sharpness of objects in both image sets using one or more processes, such as gradient-based methods or Laplacian variance. The rate at which the sharpness of objects in the image changes as the focal plane is adjusted provides additional depth information. A rapid increase in sharpness with a small change in the focal plane indicates that the object is close to the focal plane, while a slower increase in sharpness suggests that the object is further away. The focal plane can be continuously shifted from distance A to distance B in a short time, such as 1 second, using a liquid lens or other variable high-speed focusing mechanism, during which 50 or 60 images may be captured. Using the collected sharpness information, finer distances within this range can be accurately calculated. Distances A and B may constitute the main topography of the area being imaged.
[0321] c. Camera parameters for depth estimation If precise camera parameters such as shutter speed, gain, and gamma value during NIR image acquisition are known, the system can use this information to relate contrast in the NIR image to a range of depths in the scene. This relationship can simplify depth estimation by directly utilizing luminance values without requiring additional normalization. For example, by knowing the camera parameters, the controller 600 can understand the relationship between luminance values in the NIR image and corresponding depth values in the scene. For instance, shutter speed and gain affect the overall exposure and sensitivity of the NIR image, and therefore can affect the maximum and minimum luminance values that can be captured. Furthermore, the gamma value, which relates to the luminance and contrast of the image, can be taken into consideration for depth estimation, although it affects how luminance values are mapped in the image. Using the camera parameters, the controller 600 can establish and / or estimate the relationship between contrast and depth values in the NIR image. The same logic described above can also be applied when using visible light imaging.
[0322] d. Machine learning techniques NIR images can be configured to provide strong clues about the depth of objects in a scene, so information from both NIR and white light images can be leveraged in a complementary way for depth inference using deep neural networks. NIR images can correlate strongly with depth due to the small variation in surface reflectivity, while white light images provide additional contextual and texture details. By processing NIR and white light images through separate branches of the neural network and then fusing the extracted features, the network can effectively integrate depth-related information from NIR images with the rich details from white light images. This technique can enable the network to generate accurate depth maps from a single monocular setup. The training process can involve using an appropriate loss function to measure prediction accuracy, optimizing the network to minimize errors, and refining the results with post-processing techniques to improve the quality of the depth maps. NIR images typically have more noise, so this can be reduced using frame averaging techniques. False results caused by motion can be reduced by applying optical flow techniques based on less noisy white light images. In one embodiment, a system and method are provided for determining ground truth data in a semi-supervised learning environment based on a consensus across multiple algorithmic predictions. The system includes multiple algorithms, each capable of predicting a target outcome, using various methodologies, including statistical models, machine learning techniques, neural networks, or predefined rules derived from domain-specific knowledge.
[0323] The input to the system may consist of one or more datasets that may include raw sensory data from multiple sources (e.g., images, signals, or numerical data), preprocessed data that may include features extracted by algorithms related to expertise in the field, and / or data from known and reliable sources such as reference markers, reference points, or instrument-based data that serve as high-accuracy benchmarks.
[0324] In some embodiments, each algorithm may process the same input data, but in some embodiments, the methodologies underlying each algorithm may differ, leading to variability in algorithmic predictions.
[0325] In some embodiments, the system may operate by first aggregating predictions from each algorithm for the same data point. These predictions may include values such as coordinates, labels, or measurements, depending on the problem domain. Ground truth can be determined by a consensus mechanism such that a majority or subset of the algorithms produce results within a predetermined tolerance. This tolerance can be set based on factors that may, but are not limited to, application requirements. The tolerance may also be dynamic and / or non-static, thereby allowing for tighter and / or looser consensus depending on factors such as environmental factors and / or desired accuracy.
[0326] When multiple algorithms produce predictions that coincide within an acceptable range, these predictions can be reconciled, for example, by averaging and / or weighting them according to weighting coefficients such as reliability and / or other confidence metrics. For example, in the case of algorithms based on a given marker or physical instrument (such as a reference marker) that provides a reliable output, the system can assign greater weights to those predictions (for example, assigning heavier weighting coefficients so that more reliable predictions have a greater impact on the final output). This process can help ensure that the ground truth value is based not only on consensus but also on physically validated data. The system's output may include one or more computed ground truths, such as the ground truth at each data point. This ground truth can be determined, for example, by agreeing with algorithms within a given tolerance range, by weighting the results of reliable marker-based algorithms more heavily, by invalidating predictions from other algorithms when reliable markers are available, and / or by other decision processes. This output can serve, for example, as semi-labeled data for use in training machine learning models or for validating predictions in an unsupervised environment. In semi-supervised learning, the system may, in some embodiments, leverage the ground truth with respect to a portion of the dataset used as input to the system. Thus, in some embodiments, one or more outputs of the system can be used to improve predictions. For example, labeled data can be used to improve predictions for the remaining unlabeled data. In some embodiments, ground truth derived from consensus and weighting mechanisms can be used to train or fine-tune machine learning models within the system. In some implementations, the system can utilize a semi-supervised method in which ground truth serves as labeled data to train, for example, a new algorithm in which the labeled data guides the learning process; to fine-tune an existing model using consensus-validated ground truth to adjust weights, parameters, or architecture; to supervise a transfer learning process in which ground truth from one domain can guide the training of models in different but related domains; or to utilize a semi-supervised method for another process or a combination thereof. In some embodiments, the system may continuously monitor and evaluate the predictions of each algorithm, for example, by comparing them to the generated ground truth. This comparison may highlight areas where the algorithm's predictions consistently deviate from the consensus and / or reliable markers. Based on this feedback, the system may, in some non-limiting examples, modify the algorithm's parameters to improve alignment with the consensus, adapt its architecture through techniques such as backpropagation, gradient updating, or model retraining using the ground truth as a reference, and / or the system may iteratively refine the ground truth itself by dynamically updating tolerance thresholds based on real-time conditions or performance metrics, thereby making the system adaptable to variable environments.
number
[0327] Since NIR images can be acquired in a way that allows for a strong correlation between NIR brightness and depth, the brightness of each pixel in the NIR image can be associated with depth using the following model.
[0328] Here, dNIR(x,y) represents the depth derived from the NIR luminance INIR(x,y), and C is a constant derived from a calibration or known depth value. If the constant C is unknown, the controller 600 may calibrate it using a known depth value from the scene.
[0329] The controller 600 may compare a predicted depth map from a machine learning algorithm or classifier with a depth map calculated based on depths derived from NIR luminance as described above. Errors in the predicted depth and NIR-derived depth can help quantify the discrepancy between the predicted depth map and the calculated depth map. The controller 600 may then apply at least one correction to areas of the predicted depth map that show a significant deviation from the calculated depth map. In some embodiments, the controller 600 may combine the predicted depth map and the NIR-based depth map using a weighted averaging method such as the following:
number
[0330] In some embodiments, the predicted depth map may be fused with the NIR image by using an artificial neural network comprising: an encoder portion that extracts features from both the predicted depth map and the NIR image; a fusion portion that fuses features from both images (predicted depth map and NIR image) by taking a feature-weighted combination (a neural network or an intermediate layer of the encoder) to preserve the details from the predicted depth map and the overall luminance of the corresponding NIR image patch; and a decoder portion that generates a final depth map based on the feature fusion (or the intermediate layer of the neural network or encoder). The neural network may be a convolutional neural network, a generative adversarial network, a transducer, a stable spread, or any other network consisting of an encoder or embedding and decoder. This can be implemented in a manner similar to, but is not limited to, the neural style transfer algorithm. Instead of using the NIR image, a white light image may be captured so that the luminance values provide a strong clue of distance or depth.
[0331] e. Filtering depth maps using NIR images NIR images can be used, additionally or alternatively, to filter the predicted depth map by a deep neural network using a different algorithm or guided filter. Guided filtering is a technique that refines an image by using a guidance image to preserve edges and structure while smoothing out noise. In this context, the NIR image can function as a guidance image, and the depth map can function as the target image to be refined.
[0332] To apply a guided filter, the controller 600 may acquire a depth map and an NIR image. The controller 600 may then convert the images to a compatible format, such as by converting the depth map and / or the NIR image to the same resolution and / or to a format required for processing, such as grayscale and / or a single-channel image. The controller 600 may then calculate a filtered output using the NIR image as guidance and select an appropriate filter value based on the characteristics of the depth map and the NIR image. The filtered output may include the following:
number
[0333] In the formula, d is the input depth map, I_NIR is the guidance NIR image, r is the radius of the local window used for filtering, where a larger value of r means greater smoothing, and E is a regularization parameter that controls the trade-off between smoothing and detail preservation. The same logic can be applied when using visible light imaging instead of NIR. This logic may be applied with one sensor or two or more sensors.
[0334] f. Control of lighting system parameters Most tissues in a scene can uniformly reflect most of the NIR light, resulting in a strong correlation between the depth of objects in the scene and the corresponding average brightness of those objects in the NIR image. To improve the accuracy and reliability of depth estimation, both the light source and the NIR sensor can be dynamically controlled during image acquisition to maintain optimal imaging conditions. For example, this avoids saturated or very low-brightness images that are not sufficiently isolated from noise. This allows for a precise relationship between NIR brightness, light power, and depth without resulting in overexposed or underexposed images.
[0335] The system comprises two dynamically controlled components: a light source that illuminates the scene and an NIR sensor responsible for capturing NIR images. By adjusting these elements, the system can ensure optimal image quality for depth estimation, taking into account reflectivity, object distance, and specific characteristics of the scene such as geometric shape and anatomical structure.
[0336] The light source is close to the camera, thereby providing uniform illumination across the entire scene. Light intensity or power can be adjusted in real time to prevent saturation or underexposure of NIR images. For easier control, a separate lamp for the NRI light is preferable. This allows for greater flexibility by providing independent control. If independent control is not possible, or if both sensors are for visible light, acceptable quality image information can still be collected by modifying acquisition parameters such as gain and exposure. The control algorithm monitors the captured NIR image and adjusts the light intensity accordingly to maintain an optimal exposure level. If overexposure is detected (pixel brightness reaches its maximum), the light intensity is reduced. Conversely, if the image shows underexposed areas (dark areas with insufficient light), the light power is increased to enhance brightness.
[0337] This dynamic adjustment ensures that the NIR image remains within a usable luminance range, thereby preventing image artifacts that could interfere with depth estimation. By maintaining appropriate illumination, the system ensures that the luminance of the NIR image is closely related to the depth of the object, following the inverse square law, which shows that light intensity decreases with the square of the distance from the light source.
[0338] In addition to controlling the light source, the system can also adjust the image acquisition settings of the NIR sensor itself. NIR sensor parameters such as exposure time, gain, and gamma value can be dynamically controlled to further improve image quality. These adjustments can operate in conjunction with or independently of the light source control, depending on the specific requirements of the scene.
[0339] For example, exposure time determines how long the sensor collects light before capturing an image. If the scene is very dark, a longer exposure time allows more light to be captured, resulting in a brighter image. However, if the scene is well-lit, a shorter exposure time prevents overexposure and preserves detail in the bright areas.
[0340] In another example, gain amplifies the signal from the sensor, increasing brightness in low-light conditions. By adjusting the gain, the system can capture a clear image even when the light source is not strong enough. However, excessive gain can introduce noise into the image, so the system balances the gain to achieve the best image quality without degradation.
[0341] In another example, gamma correction adjusts the contrast of an image, particularly in the midtone region. If the gamma correction coefficient applied to the raw image is known, an inverse gamma correction can be applied to the resulting image to obtain the raw image, thus obtaining a more uniformly bright image. This is useful in the depth estimation process, as the raw image pixel values provide good clues for depth estimation. In another example, instead of applying an inverse gamma correction, the gamma value could be used in the depth estimation algorithm.
[0342] These controls allow the system to fine-tune NIR image quality, thereby ensuring that brightness variations due to scene depth are accurately captured without distortion or loss of information. Dynamic control of the NIR sensor allows for adjustment of sensor settings to capture optimal images under various conditions, even when the light source operates at a constant power.
[0343] By integrating the control of both the light source and the NIR sensor, the system can achieve optimal imaging conditions for accurate depth estimation. The relationship between NIR brightness and depth is enhanced by maintaining a well-exposed image, and accurate depth calculation is possible by using a combination of several principles, including an inverse square law that describes the relationship between the brightness of the NIR image and the power of the light source using the distance of the object in the image from the camera, sensor optimization to help capture the full range of depth information without image saturation or dark areas, and balancing and / or controlling the light source and sensor settings to obtain the best possible image quality.
[0344] In some embodiments, both NIR and RGB images can be acquired from the same sensor, and the sensor may have different optical filters corresponding to different bands of wavelength light corresponding to red, green, blue, and IR. The acquisition parameters for NIR images can be independent of those for white light images, or the entire sensor may have the same acquisition parameters for all four channels (red, green, blue, and IR). In the case of independent control, the optimal NIR image for depth inference can be acquired by optimal selection of image acquisition parameters, or by controlling the amount of NIR light independently or together with white light illumination. If the NIR imaging parameters cannot be controlled independently, the optimal NIR image for depth inference can be obtained by controlling the amount of NIR illumination light. NIR illumination can be controlled independently if independent control is possible, for example, if the light source consists of two illumination sources (one for white light illumination and one for NIR illumination), or if the amount of light can be controlled by a filter. If the amount of NIR illumination cannot be controlled independently, the overall illumination can be controlled to obtain the optimal NIR image. In such a case, image data 1 may be obtained from RGB pixels, and image data 2 may be obtained from NIR pixels. This may be two consecutive image streams. Image data 1 and / or image data 2 may also be intermittently captured by changing the lighting and / or capture settings. Using a single sensor can make the system more compact and cheaper to manufacture.
[0345] g. Use of multiple NIR images Various embodiments of the system may address scenarios where a single NIR image captured under specific acquisition conditions may not provide sufficient information to accurately represent the true depth of the scene. In such cases, the dynamic range of a single NIR image may be insufficient due to factors such as high contrast, extreme lighting conditions, or large depth fluctuations. To overcome this limitation, the system may employ a high dynamic range (HDR) technique by capturing multiple NIR images, each acquired under different acquisition parameters and light intensities. These images can then be combined to form a single composite HDR NIR image, thereby providing a more comprehensive view of the scene and improving depth estimation accuracy. These images may also be tagged separately for depth information and processed separately. Instead of multiple NIR images, multiple visible light images may be used.
[0346] The controller 600 can perform the HDR image acquisition and depth estimation process, for example, by capturing multiple NIR images using various acquisition parameters, combining the images, and using the combined image for depth estimation.
[0347] For example, the system may capture several NIR images of the same scene, each using different acquisition parameters such as exposure time, gain, and gamma, along with varying light source intensities. By adjusting these parameters for each image, the system captures a range of luminance values that reflect different parts of the scene with optimal exposure. For instance, shorter exposure times and lower light intensities may better capture brighter, reflective areas of the scene, while longer exposure times and higher light intensities are ideal for darker, shadowed areas.
[0348] When multiple NIR images are captured, the system can combine them, for example, by using linear merging techniques to create a single high dynamic range (HDR) NIR image. This merging process ensures that information from both the bright and dark areas of the scene is reflected in the final composite image. Linear merging weights the contribution of each image according to its exposure parameters and overall luminance distribution, avoiding overexposure or underexposure in any part of the HDR image. The final HDR NIR image can contain a much wider range of luminance values than any single image could capture, allowing for a more accurate representation of the full depth of the scene.
[0349] HDR NIR images provide a more reliable and comprehensive dataset for depth estimation. Since the luminance values in HDR images correlate with the depth of objects in the scene (based on the inverse square law of light intensity), the combined dynamic range allows the system to better handle scenes with extreme depth variations and reflectivity differences. This allows the system to access detailed information about both near and far objects, regardless of reflectivity or lighting conditions, resulting in more accurate depth estimations. Combining multiple images also contributes to a more accurate and complete depth map, as it better displays even areas of the scene that would typically be saturated or darkened within a single image.
[0350] The system may, additionally and / or alternatively, enhance the image for display using HDR NIR images. For example, the system may capture both white light and near-infrared (NIR) images simultaneously, but with different optimization objectives. White light images are particularly enhanced for visual display to the user, undergoing nonlinear processing and high dynamic range (HDR) filtering to make them visually appealing and suitable for display purposes. As a result, white light images are optimized for aesthetics rather than depth inference, which presents challenges when feeding these images to machine learning algorithms or deep neural networks designed for depth prediction. In contrast, NIR images are particularly optimized for depth cues, as they maintain a strong correlation between brightness and object depth by leveraging the inverse square law of light intensity and depth correlation.
[0351] An innovative approach is employed to address the discrepancy between the visual enhancement of white light images and the requirements for depth-related cues. Instead of using the white light image directly, which lacks luminance information directly related to depth, the luminance of the white light image is either completely replaced or partially blended with luminance information from the NIR image. This blending can be done using a weighted average, and the influence of the NIR image is controlled based on the extent to which depth cues may be necessary for the accuracy of the algorithm. The result is an augmented white light image that retains spatial and color information from the original white light capture but incorporates depth-related luminance cues from the NIR image.
[0352] This hybrid image can be used additionally and / or alternatively as input to machine learning algorithms or deep neural networks for more accurate and reliable depth inference. For example, the resulting augmented image, which here includes both spatial and color information from a white light image and depth-related luminance information from an NIR image, can be fed into one or more machine learning models or deep neural networks. This allows the algorithm to extract a more accurate depth map by utilizing depth-optimized luminance cues while preserving the detailed features and texture of the white light image.
[0353] h. Shape improvement from shading Some stereoscopic visualization systems may generate 3D reconstructions using shape-from-shading (SFS) techniques, which leverage shading information to extract depth cues from 2D images and reconstruct a 3D representation of the surface of interest. Some embodiments of the devices, systems, and methods disclosed herein advantageously introduce dual-sensor techniques that integrate white light imaging and NIR imaging to help optimize SFS techniques.
[0354] For example, in a dual-sensor configuration, the sensors may capture conventional images using both visible and NIR light. A white light sensor can be configured to capture conventional images using visible light, which provides high-quality color information. While this is useful for identifying tissue features, it may not be ideal for depth perception due to the variability of light absorption within the human body. An NIR sensor may be dedicated solely to depth estimation by SFS. NIR light reflects more consistently from human tissue, producing a more reliable shading pattern for the SFS algorithm. This enables superior 3D reconstruction by minimizing the noise caused by inconsistent reflectivity in visible light imaging.
[0355] NIR images can be optimized or improved for SFS algorithms. For example, an NIR sensor can dynamically adjust its acquisition parameters to optimize shading information. Adjustable parameters may include, but are not limited to, shutter speed (which can help ensure proper exposure under various lighting conditions) as well as gain and gamma (which can help improve contrast in areas with subtle shading variations and aid in accurate depth extraction).
[0356] Furthermore, the infrared light source can be manipulated to enhance SFS. For example, the system can adjust the power of the light source to avoid overly bright areas that may obscure depth cues. In another example, the system can select a specific band of NIR light for illumination to help improve and / or optimize imaging from biological tissues by ensuring that much (or most) of the light is reflected uniformly by different tissues.
[0357] The improved imagery enabled by illuminating the scene with a selected band of NIR light can result in a more uniform and stable input to the SFS process. Unlike visible light, which is absorbed and scattered by various tissues, NIR light is consistently reflected, potentially providing more reliable shading information.
[0358] Preferably, by using NIR-based SFS during navigation and depth estimation and switching to white light for color accuracy, the system can provide surgeons with both accurate 3D structure and detailed color information. For example, in some implementations, NIR light can be optimized for 3D depth estimation in a first set of images and for tissue identification in a second set of images, thereby selecting the NIR wavelength band for tissue identification.
[0359] Regarding tissue identification, although there is less variation in the surface reflection of NIR by tissues compared to white light, some variation still exists. For example, NIR imaging can have different reflection coefficients depending on the type of tissue, based on their reflection characteristics. To avoid this, depth estimation can also be enhanced by using wavelengths that are reflected more uniformly by different types of tissues. By selecting different wavelengths for illumination that have more variation in the surface reflection coefficient of NIR, blood vessels such as veins can be identified, for example, reducing the possibility of errors during delicate procedures. For example, NIR wavelengths are absorbed more by veins. The location of veins can be assessed using this characteristic and can be used for navigation purposes. NIR wavelengths can be reflected differently by oxygenated and unoxygenated blood. This can be used to understand the oxygenation level of tissues. However, this can distort depth inference algorithms. Assessment of tissue type can be useful for navigation purposes or to avoid anastomotic leakage. The system can intermittently acquire images optimized for tissue type and / or condition assessment and depth assessment. This may be tissue perfusion. When the depth is known, the amounts of incident and reflected light can be estimated more accurately, thus allowing for a more precise perfusion evaluation.
[0360] i. Generating an absolute depth map A normalized depth map represents the relative depth or shape of a scene but lacks information about the absolute distance from the camera. In some implementations, the system may convert the normalized depth map to an absolute depth map using specular reflections observed in near-infrared (NIR) images. For example, the system may perform the conversion using a relationship between specular reflections and surface curvature. This example may involve the system identifying the locations of specular reflections, applying them as constraints, and adjusting the scale and shift of the normalized depth map accordingly.
[0361] The input to the absolute depth map generation process may include a normalized depth map, at least one NIR image, and / or at least one white light image. The NIR image may be captured with settings optimized to enhance specular reflections. These reflections can correspond to regions where the surface curvature coincides with the direction of the incident light. The white light image may optionally be used to add texture and further detail to the depth estimation process.
[0362] The system can detect specular reflections in the received NIR image. In the NIR image, the system can identify areas of high-intensity light (which may correspond to specular highlights). These reflections occur when the angles between the light source, the surface normal, and the camera coincide, and can provide direct information about the surface curvature. The system can isolate the detected specular highlights using image processing techniques such as thresholding or luminance segmentation.
[0363] The system can further determine surface curvature, for example, based on the location of specular reflections in the NIR image. The location of specular reflections in the NIR image corresponds to points where the surface curvature coincides with the direction of the image rays (the path of light between the light source, the surface, and the camera). These points can be treated as geometric constraints for refining the depth map. Since specular reflections occur at predictable curvature points, the depth at these points can provide direct clues about the true surface shape.
[0364] Next, the system may convert the normalized...
Claims
1. An imaging device for generating imaging data of an object, The system includes an image control engine configured to control at least one image sensor to acquire first image data of the object having a first image setting and second image data of the object having a second image setting. The first image setting and the second image setting are different from each other. The system includes a data processor configured to receive the first image data and the second image data and to transfer the image data to a 3D engine, The 3D engine is configured to generate at least one depth map of the object based on the image data, and is an imaging device.
2. The imaging device according to claim 1, wherein the first image setting and the second image setting differ in at least focal length, brightness, resolution, and / or aperture.
3. The imaging device according to claim 1 or 2, wherein at least two sensors are provided, at least one sensor is configured to receive first image data, and at least one other sensor is configured to receive second image data.
4. The imaging device according to any one of claims 1 to 3, wherein the image control engine is further configured to control a light source configured to illuminate the object.
5. The imaging device according to any one of claims 1 to 4, wherein the light source is configured to emit near-infrared light and white light.
6. The imaging device according to any one of claims 1 to 5, wherein the image control engine is further configured to control the lens and / or aperture.
7. The imaging device according to any one of claims 1 to 6, wherein the imaging device comprises the lens and / or the aperture, and the lens and / or the aperture is optionally a liquid lens.
8. The imaging device according to any one of claims 1 to 7, wherein the image settings include aperture, depth of field, light, wavelength, shutter speed, brightness, resolution, and / or focal length.
9. The imaging device according to any one of claims 1 to 8, further comprising a surgical robot control engine configured to control a robot that controls an instrument, in particular an endoscope, based on the depth map.
10. The imaging device according to any one of claims 1 to 9, further comprising a guidance engine configured to output guidance information to the user based on the depth map.
11. The imaging device according to any one of claims 1 to 10, wherein the first image data is captured during a first sequence, the second image data is captured during a second sequence, and more frames are acquired during the first sequence than during the second sequence.
12. The imaging device according to any one of claims 1 to 11, wherein the image control engine is configured to recognize whether the imaging device is moved and to determine movement information, and the image control engine is configured to change the image settings based on the movement information.
13. The imaging device according to any one of claims 1 to 12, wherein the 3D engine is configured to generate the at least one depth map based on the shape from the focal point, the shape from the brightness, and / or at least one landmark.
14. The imaging device according to any one of claims 1 to 13, wherein the 3D engine is configured to generate the at least one depth map using an artificial neural network.
15. The imaging device according to any one of claims 1 to 14, wherein the 3D engine is configured to generate at least two depth maps having different resolutions, the 3D engine is configured to fuse the at least two depth maps together to generate a fused depth map, in which a region of interest is represented by a high-resolution depth map and the remainder of the fused depth map is represented by a low-resolution depth map.
16. An endoscope having an imaging device according to any one of claims 1 to 15.
17. A system comprising an endoscope according to claim 13 and an instrument configured to be used within the field of view of the imaging sensor, wherein the instrument has a mark, and the image control engine is configured to change the image settings based on the mark in the field of view.
18. A method for imaging an object, A step of acquiring first image data of an object having a first image setting and second image data of an object having a second image setting, wherein the first image setting and the second image setting are different from each other. The steps include transferring image data to the 3D engine, A step of generating a depth map of the object based on the data, Methods that include...
19. A method for training or retraining an artificial neural network useful for generating depth maps, A step of receiving input training data, i.e., image data including multiple pixels, wherein the image data includes brightness information, shape information, landmark information and / or focus information with respect to at least a portion of the pixels, The steps include receiving output training data, i.e., at least one depth map showing the spatial positions of at least some of the pixels of the image data, The steps include: adapting the parameters of the artificial neural network to map the input training data to the output training data; Methods that include...
20. An imaging system for generating a 3D view of an object, An imaging device configured to capture multiple images at multiple depths of focus of a scene, A shaft member located at the distal end of the imaging device, comprising a single optical channel, A camera head located at the proximal end of the imaging device, which is rotatable independently of the shaft member, One or more image sensors configured to capture an image based on light received through the single optical channel, An optical element configured to focus the aforementioned light onto one or more image sensors, An imaging device comprising, One or more hardware processors that execute instructions, A first image is received from one or more image sensors, and the first image is captured at the observed depth of field. The variable focus lens is used to change the focal length between the observation depth and the second depth. A second image is received from one or more image sensors, and the second image is captured at the second depth. A 3D representation of at least a portion of the scene is displayed in the viewer based at least partially on the first image. A depth map of the scene is generated or updated based at least partially on the second image. One or more hardware processors programmed to do so, An imaging system equipped with the following features.
21. The system according to claim 20, wherein the imaging device comprises a monocular endoscope.
22. The system according to claim 20 or 21, wherein the distal tip of the shaft member forms an angle that is not perpendicular to the longitudinal axis of the shaft member.
23. The system according to any one of claims 20 to 22, wherein the rotation of the shaft member enables observation of an additional portion of the scene.
24. The system according to any one of claims 20 to 23, wherein the imaging device is configured to be held by a robot controller.
25. The system according to any one of claims 20 to 24, in particular claim 22, wherein the one or more hardware processors are configured to send control signals to the robot controller to update the orientation or position of the imaging device.
26. The system according to any one of claims 20 to 25, wherein the variable focus lens is located at the proximal end of the imaging device.
27. The system according to any one of claims 20 to 26, wherein the variable focus lens is disposed within the camera head.
28. The imaging device further comprises a connecting member disposed between the camera head and the shaft member, according to any one of claims 20 to 27.
29. The system according to any one of claims 20 to 28, particularly claim 26, wherein the variable focus lens is disposed within the connecting member.
30. The system according to any one of claims 20 to 29, wherein the variable focus lens is disposed within the shaft member of the imaging device.
31. The system according to any one of claims 20 to 30, wherein the variable focus lens comprises a liquid lens.
32. The system according to any one of claims 20 to 31, wherein the imaging device comprises a piezoelectric drive configured to move at least one of the one or more sensors relative to the variable focus lens.
33. The system according to any one of claims 20 to 32, wherein the one or more sensors comprises a single sensor.
34. The system according to any one of claims 20 to 33, in particular claim 31, wherein the single sensor comprises a plurality of sensing areas, and the optical element further comprises an alignment optical element configured to adjust the optical path of the light to interact with a single sensing area among the plurality of sensing areas.
35. The system according to any one of claims 20 to 34, in particular claim 32, wherein at least a portion of the plurality of sensing areas is associated with different wavelength filters.
36. The system according to any one of claims 20 to 35, wherein the one or more hardware processors are further configured to move the optical path of the light between the first sensing area and the second sensing area of the alignment optical element.
37. The system according to any one of claims 20 to 36, wherein one or more hardware processors are configured to move the alignment optical element before the imaging device acquires a third image at the observation depth or the second depth.
38. The system according to any one of claims 20 to 37, wherein the one or more sensors comprises a plurality of sensors.
39. The system according to any one of claims 20 to 38, further comprising an alignment optical element configured to cause the light to interact with a single sensor among the plurality of sensors.
40. The system according to any one of claims 20 to 39, wherein the alignment optical element does not include a beam splitter.
41. The system according to any one of claims 20 to 40, wherein the one or more hardware processors are programmed to move the optical path of the light between the first sensor and the second sensor among the plurality of sensors.
42. The system according to any one of claims 20 to 41, wherein the alignment optical element comprises at least one of a mirror or a prism.
43. The system according to any one of claims 20 to 42, wherein at least one sensing surface of the plurality of sensors is aligned with the vertical side surface of the prism.
44. The system according to any one of claims 20 to 43, wherein at least one sensing surface of the plurality of sensors is tilted with respect to the optical channel.
45. The system according to any one of claims 20 to 44, wherein each of the plurality of sensors can measure light in different wavelength ranges.
46. The system according to any one of claims 20 to 45, wherein at least some of the plurality of sensors are configured to capture images of visible wavelengths.
47. The system according to any one of claims 20 to 46, wherein at least some of the plurality of sensors are configured to capture light of near-infrared wavelengths.
48. The system according to any one of claims 20 to 47, wherein at least some of the plurality of sensors are configured to collect hyperspectral imaging data.
49. The system according to any one of claims 20 to 48, wherein the display includes a three-dimensional image.
50. The system according to any one of claims 20 to 49, wherein the one or more hardware processors are programmed to determine the observation depth on partly based on the determined or estimated user preference.
51. The system according to any one of claims 20 to 50, wherein the aforementioned display is presented to the user in real time.
52. The system according to any one of claims 20 to 51, wherein the display is at least partially based on the depth map.
53. The system according to any one of claims 20 to 52, wherein the one or more hardware processors are programmed to estimate the depth of at least one object in the scene based on a plurality of different depth estimates.
54. The system according to any one of claims 20 to 53, wherein the one or more hardware processors are programmed to estimate the depth of the at least one object in the scene based on the difference in appearance of the at least one object at the second depth and the third depth in the third image.
55. The system according to any one of claims 20 to 54, wherein the one or more hardware processors are programmed to estimate the depth of at least one object in the scene based at least in part on calibration information of the one or more sensors.
56. The system according to any one of claims 20 to 55, wherein one or more of the hardware components are programmed to estimate the depth of at least one object in the scene, at least in part, based on the output of a machine learning classifier.
57. The system according to any one of claims 20 to 56, wherein one or more pieces of hardware are programmed to estimate the depth of at least one object in the scene based at least in part on the dimensions of known objects in the scene.
58. The system according to any one of claims 20 to 57, wherein one or more pieces of hardware are programmed to estimate the depth of at least one object in the scene, at least in part, based on tracking an object or feature between two consecutive images.
59. The system according to any one of claims 20 to 58, wherein the two consecutive images are captured at the same depth of field.
60. The system according to any one of claims 20 to 59, wherein one or more hardware processors are programmed to generate a third image based at least partially on the second image.
61. The system according to any one of claims 20 to 60, wherein the display includes a series of consecutive stereoscopic views of the scene, at least in part, based on the first image and the third image.
62. The system according to any one of claims 20 to 61, wherein the display is not based on the second image.
63. An imaging device configured to capture multiple views of an object, A shaft member located at the distal end of the imaging device, comprising a single optical channel, A camera head located at the proximal end of the imaging device, which is rotatable independently of the shaft member, One or more image sensors configured to capture an image based on light received through the single optical channel, An optical element configured to focus the aforementioned light onto one or more image sensors, An imaging device comprising:
64. The imaging device according to claim 61, wherein the imaging device comprises a monocular endoscope.
65. The imaging device according to claim 61 or 62, wherein the distal tip of the shaft member forms an angle that is not perpendicular to the longitudinal axis of the shaft member.
66. The imaging device according to any one of claims 61 to 63, wherein the rotation of the shaft member enables observation of an additional portion of the object.
67. The imaging device according to any one of claims 61 to 64, wherein the imaging device is configured to be held by a robot controller.
68. The imaging device according to any one of claims 61 to 65, wherein the variable focus lens is disposed at the proximal end of the imaging device.
69. The imaging device according to any one of claims 61 to 66, wherein the variable focus lens is disposed within the camera head.
70. The imaging device according to any one of claims 61 to 67, further comprising a connecting member disposed between the camera head and the shaft member, wherein the variable focus lens is disposed within the connecting member.
71. The imaging device according to any one of claims 61 to 68, wherein the variable focus lens is disposed within the shaft member of the imaging device.
72. The imaging device according to any one of claims 61 to 69, wherein the variable focus lens comprises a liquid lens.
73. The imaging device according to any one of claims 61 to 70, further comprising a piezoelectric drive configured to move at least one of the one or more sensors relative to the variable focus lens.
74. The imaging device according to any one of claims 61 to 71, wherein the one or more sensors comprises a single sensor.
75. The imaging device according to any one of claims 61 to 72, wherein the single sensor comprises a plurality of sensing areas, and the optical element further comprises an alignment optical element configured to adjust the optical path of the light in order to interact with a single sensing area among the plurality of sensing areas.
76. The imaging device according to any one of claims 61 to 73, wherein at least a portion of the plurality of sensing areas is associated with different wavelength filters.
77. The imaging device according to any one of claims 61 to 74, wherein the one or more sensors comprises a plurality of sensors.
78. The imaging device according to any one of claims 61 to 75, further comprising an alignment optical element configured to cause the light to interact with a single sensor among the plurality of sensors.
79. The imaging device according to any one of claims 61 to 76, wherein the alignment optical element does not include a beam splitter.
80. The imaging device according to any one of claims 61 to 77, wherein the alignment optical element is configured to move the optical path of the light between the first sensor and the second sensor among the plurality of sensors.
81. The imaging device according to any one of claims 61 to 78, wherein the alignment optical element comprises at least one of a mirror or a prism.
82. The imaging device according to any one of claims 61 to 79, wherein at least one sensing surface of the plurality of sensors is aligned with the vertical side surface of the prism.
83. The imaging device according to any one of claims 61 to 80, wherein at least one sensing surface of the plurality of sensors is tilted with respect to the optical channel.
84. The imaging device according to any one of claims 61 to 81, wherein each of the plurality of sensors can measure light in a different wavelength range.
85. The imaging device according to any one of claims 61 to 82, wherein at least some of the plurality of sensors are configured to capture images of visible wavelengths.
86. The imaging device according to any one of claims 61 to 83, wherein at least some of the plurality of sensors are configured to capture light of near-infrared wavelengths.
87. The imaging device according to any one of claims 61 to 84, wherein at least some of the plurality of sensors are configured to collect hyperspectral imaging data.
88. An imaging system for generating a 3D view of an object, An imaging device configured to capture multiple images at multiple depths of focus of a scene, A shaft member located at the distal end of the imaging device, comprising a single optical channel, A camera head located at the proximal end of the imaging device, which is rotatable independently of the shaft member, Multiple image sensors configured to capture an image based on light received through the single optical channel, An optical element configured to focus the aforementioned light onto each of the plurality of image sensors, A variable focus lens configured to change the focal length between the plurality of image sensors and an object within the field of view of one or more image sensors in less than 100 ms, An alignment optical element configured to change the direction of light is provided in a selected image sensor from among the plurality of image sensors, An optical element comprising, An imaging device comprising, One or more hardware processors that execute instructions, A first image captured using the first image sensor among the plurality of image sensors is received. The optical path of the light directed to the second image sensor among the plurality of image sensors is changed to the alignment optical element, and the second image sensor has a different configuration from the first image sensor. The second image captured using the second image sensor is received, A first display of at least a portion of the scene is shown to the user based at least partially on the first image, or a second display of at least a portion of the scene is shown to the user based at least partially on the second image. One or more hardware processors programmed to do so, An imaging system equipped with the following features.
89. The system according to claim 86, wherein the alignment optical element comprises at least one of a mirror or a prism.
90. The system according to any one of claims 88 to 89, wherein at least one sensing surface of the plurality of sensors is aligned with the vertical side surface of the prism.
91. The system according to any one of claims 88 to 90, wherein at least one sensing surface of the plurality of sensors is tilted with respect to the optical channel.
92. The system according to any one of claims 88 to 91, wherein each of the plurality of sensors can measure light in different wavelength ranges.
93. The system according to any one of claims 88 to 92, wherein at least some of the plurality of sensors are configured to capture images of visible wavelengths.
94. The system according to any one of claims 88 to 93, wherein at least some of the plurality of sensors are configured to capture light of near-infrared wavelengths.
95. The system according to any one of claims 88 to 94, wherein at least some of the plurality of sensors are configured to collect hyperspectral imaging data.
96. The system according to any one of claims 88 to 95, wherein the imaging device comprises a monocular endoscope.
97. The system according to any one of claims 88 to 96, wherein the distal tip of the shaft member forms an angle that is not perpendicular to the longitudinal axis of the shaft member.
98. The system according to any one of claims 88 to 97, wherein the rotation of the shaft member enables observation of an additional portion of the scene.
99. The system according to any one of claims 88 to 98, wherein the imaging device is configured to be held by a robot controller.
100. The system according to any one of claims 88 to 99, wherein the variable focus lens is positioned at the proximal end of the imaging device.
101. The system according to any one of claims 88 to 100, wherein the variable focus lens is disposed within the camera head.
102. The imaging device further comprises a connecting member disposed between the camera head and the shaft member, and the variable focus lens is disposed within the connecting member, according to any one of claims 88 to 101.
103. The system according to any one of claims 88 to 102, wherein the variable focus lens is disposed within the shaft member of the imaging device.
104. The system according to any one of claims 88 to 103, wherein the variable focus lens comprises a liquid lens.
105. The system according to any one of claims 88 to 104, wherein the imaging device comprises a piezoelectric drive configured to move at least one of the one or more sensors relative to the variable focus lens.
106. A method for displaying captured objects within a scene, A step of receiving a first image from an imaging device configured to capture multiple images at multiple depths of focus of a scene, wherein the imaging device comprises one or more image sensors and the first image is captured at the observed depth of field. A step of causing the variable focus lens of the imaging device to change its focal length between the observation depth and a second depth, wherein the variable focus lens is configured to change its focal length between one or more image sensors and objects within the field of view of the one or more image sensors in less than 100 ms. A step of receiving a second image from the imaging device, wherein the second image is captured at the second depth, The steps include displaying a 3D representation of at least a portion of the scene to the user based at least partially on the first image, The steps include generating or updating a depth map of the scene based at least partially on the second image, Methods that include...
107. The method according to claim 106, further comprising the step of estimating the depth of at least one object in the scene based on a plurality of different depth estimates.
108. The method according to any one of claims 106 to 107, further comprising the step of estimating the depth of the at least one object in the scene based on the difference in the appearance of the at least one object at the second depth and the third depth in the third image.
109. The method according to any one of claims 106 to 107, further comprising the step of estimating the depth of at least one object in the scene based at least in part on calibration information of one or more sensors.
110. The method according to any one of claims 106 to 109, further comprising the step of estimating the depth of at least one object in the scene based at least in part on the output of a machine learning classifier.
111. The method according to any one of claims 106 to 110, further comprising the step of estimating the depth of at least one object in the scene based at least in part on the dimensions of known objects in the scene.
112. The method according to any one of claims 106 to 111, further comprising the step of estimating the depth of at least one object in the scene, at least in part, based on tracking an object or feature between two consecutive images.
113. The method according to any one of claims 106 to 112, wherein the two consecutive images are captured at the same depth of field.
114. The method according to any one of claims 106 to 113, further comprising the step of generating a third image based at least partially on the second image.
115. The method according to any one of claims 106 to 114, wherein the display includes a series of consecutive stereoscopic views of the scene based at least in part on the first image and the third image.
116. The method according to any one of claims 106 to 115, wherein the display is not based on the second image.
117. An imaging system for generating a 3D view of an object, An imaging device configured to capture multiple images at multiple depths of focus of a scene, A shaft member located at the distal end of the imaging device, comprising a single optical channel, A camera head located at the proximal end of the imaging device, which is rotatable independently of the shaft member, A plurality of image sensors configured to capture an image based on light received through the single optical channel, each comprising at least one first sensor that responds to wavelengths of light in the visible spectrum and at least one second sensor that responds to wavelengths of near-infrared light, An optical element configured to focus the aforementioned light onto each of the plurality of image sensors, A variable focus lens configured to change the focal length between the plurality of image sensors and an object within the field of view of one or more image sensors in less than 100 ms, An alignment optical element configured to change the direction of light is provided in a selected image sensor from among the plurality of image sensors, An optical element comprising, An imaging device comprising, One or more hardware processors that execute instructions, A plurality of first images captured using the at least one first image sensor are received, and the plurality of first images are captured at various depths of focus of the scene. A first depth map is generated based on the plurality of first images. The alignment optical element is made to change the optical path of the light directed toward the at least one second image sensor. The system receives at least one second image captured using the at least one second image sensor, A second depth map is generated based at least partially on the aforementioned at least one second image. The acquisition parameters of the at least one second image sensor are updated based at least partially on the at least one second image. Using the updated acquisition parameters, at least one third image captured by the at least one second image sensor is received. The second depth map is updated based at least partially on the at least one third image. A final depth map is generated based at least partially on the first depth map and the second depth map. One or more hardware processors programmed to do so, An imaging system equipped with the following features.
118. The system according to claim 117, wherein the alignment optical element comprises at least one of a mirror or a prism.
119. The system according to any one of claims 117 to 118, wherein at least one sensing surface of the plurality of sensors is aligned with the vertical side surface of the prism.
120. The system according to any one of claims 117 to 119, wherein at least one sensing surface of the plurality of sensors is tilted with respect to the optical channel.
121. The system according to any one of claims 117 to 120, wherein the imaging device comprises a monocular endoscope.
122. The system according to any one of claims 117 to 121, wherein the distal tip of the shaft member forms an angle that is not perpendicular to the longitudinal axis of the shaft member.
123. The system according to any one of claims 117 to 122, wherein the rotation of the shaft member enables observation of an additional portion of the scene.
124. The system according to any one of claims 117 to 123, wherein the imaging device is configured to be held by a robot controller.
125. The system according to any one of claims 117 to 124, wherein the variable focus lens is positioned at the proximal end of the imaging device.
126. The system according to any one of claims 117 to 125, wherein the variable focus lens is disposed within the camera head.
127. The imaging device further comprises a connecting member disposed between the camera head and the shaft member, and the variable focus lens is disposed within the connecting member, according to any one of claims 117 to 126.
128. The system according to any one of claims 117 to 127, wherein the variable focus lens is disposed within the shaft member of the imaging device.
129. The system according to any one of claims 117 to 128, wherein the variable focus lens comprises a liquid lens.
130. The system according to any one of claims 117 to 129, wherein the imaging device comprises a piezoelectric drive configured to move at least one of the one or more sensors relative to the variable focus lens.
131. The system according to any one of claims 117 to 130, wherein the plurality of image sensors comprises four image sensors.
132. A method for generating a depth map of a scene, A step of receiving a first set of images from an imaging device configured to capture multiple images at multiple depths of field of a scene, wherein the first set of images is captured at various depths of field, and the imaging device comprises multiple image sensors, the multiple image sensors comprising at least one first sensor that responds to wavelengths of light in the visible spectrum, and at least one second sensor that responds to wavelengths of near-infrared light. A step of causing the variable focus lens of the imaging device to change its focal length between an observation depth and a second depth, wherein the variable focus lens is configured to change its focal length between one or more image sensors and objects within the field of view of the one or more image sensors in less than 100 ms, depending on the case. The steps include generating or updating a depth map of the scene based at least partially on a first set of the aforementioned images, The steps include receiving at least one second image captured using the at least one second sensor that responds to the wavelength of near-infrared light, A step of generating a depth map that is filtered at least partially based on the depth map and the at least one second image, Methods that include...
133. The method according to claim 132, further comprising the step of estimating the depth of at least one object in the scene based at least in part on the output of a machine learning classifier.
134. The method according to any one of claims 132 to 133, wherein the at least one second image acts as a guide filter for the depth map.
135. The method according to any one of claims 132 to 134, wherein the step of generating a filtered depth map includes the steps of converting the at least one second image into a format compatible with the depth map, and calculating the filtered depth map using the converted at least one second image.
